Nesting archives in memory

8 views
Skip to first unread message

Dennis S

unread,
Sep 27, 2021, 2:17:06 AM9/27/21
to libarchive-discuss
Good morning,

I am creating an archive (inner_archive.tar.gz) including a complete filesystem folder using the "archive_read_disk_open()" function. This archive is written to an http stream in the write callback.

I would like to nest this archive into another archive to add some files with meta data. So the resulting structure shoud be:

outer_archive:
--- metadata.txt
--- inner_archive.tar.gz

Creating the inner_archive first on disc is not an option. This should be done on the fly in memory.

Kind Regards.
Reply all
Reply to author
Forward
0 new messages