Nesting archives in memory

Skip to first unread message

Dennis S

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:

--- 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
0 new messages