ZIP from Mac to Windows

Ever unzipped a ZIP file, created with your Mac, on a Windows PC? Ever noticed there these strange files & folders _MACOSX, ._Filename & .DS_Store showing up?

Good thing there is a simple way to omit any hidden macOS-specific files when creating a new ZIP file!

Simply use the -X option to the zip-command in Terminal.app when creating a compressed archive of files & folders:

zip -r -X archive.zip /path/to/folder/

Thanks to the “Coolest guides on the planet” for this hint: https://coolestguidesontheplanet.com/how-to-compress-and-uncompress-files-and-folders-in-os-x-lion-10-7-using-terminal/

Happy zipping!

Share:
  • 0
  • 2

Questions? Suggestions? Let us know with a comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.