Hello,
I want to archive a folder containing files into a single file using Apple Archive. So far so good, it works as it should.
Now, the documentation says:
The zlib compression algorithm, which is recommended for cross-platform compression.
The encoded format is the raw DEFLATE format as described in IETF RFC 1951, the following obtains the equivalent configuration of the encoder:
deflateInit2(zstream,5,Z_DEFLATED,-15,8,Z_DEFAULT_STRATEGY)
Thus, I'm using .zlib, because I want the archive to be unarchivable on macOS as well as other, non-Apple platforms.
The thing is, I don't know what file extension to use so it is unarchivable / openable on both macOS and, say, Windows.
Using .aar ("Apple Archive"), or .aea ("Apple Encrypted Archive"), it works on macOS, but I doubt those can be opened on Windows (since it's the Apple-proprietary file format).
- Using .zip doesn't work on macOS, so I doubt it'll work on Windows.
- Using .zlib doesn't work (can't be opened on macOS)
- Usng .z doesn't work (can't be opened on macOS)
So my question is, with a folder compressed using .zlib for cross-platform, what file extension must I use for the resulting archived file so it can be opened with an unarchiving app on macOS and non-Apple platforms?
Thank you for any insights,
Matthias