I'm experiencing a weird phenomenon. If I:
- Create a zip archive of some files on my Mac, either with the built
in Archive Utility (
Compress "[Folder Name]") or with the p7zip command line utility for Mac (
7za a [output].zip [input directory])
- Transfer this zip archive to a fresh, minimal installation of Debian Stretch, and try to extract it with either the unzip utility or the 7z command from the p7zip-full package
...then I will get an error that the zip is corrupted. It will extract, but some files will always be missing or incomplete.
I can transfer these same zip files back to my Mac, and they will extract fine. Similarly, if I make a zip archive under Debian (again, with either the zip utility or p7zip), my Mac has no trouble extracting it.
What is happening here? Is it possible to make a zip on my Mac that Debian will be able to open?