For the application, I would like to store a collection of files together and have them in the file system as a single file, so it is easy to manage. I am currently storing everything in a folder.
I would like to keep things accessible so that you can manually edit the internal content if necessary.
One way to do this is to create a zip archive and provide it with an additional extension, and then .zip. Then it is displayed as a file type and, if necessary, you can unzip and access the content, but for normal use, keep it hidden.
I cannot find a convenient way to do this. Boost and zlib can perform compression, but do not work with archives. I found libzip, but itβs hard for me to understand how to use it, and it seems to me that it only reads / writes zip archives, without performing actual compression.
Is there a more convenient way to handle this?
Is it possible to call system functions to create an OSX archive from C ++ / Carbon?
Is there any other way to make a folder as a single file?
source share