Created
April 7, 2022 02:42
-
-
Save Tulakshana/e4afa1cde1ad59f52bc3e8622b350460 to your computer and use it in GitHub Desktop.
Script to create a zip file in macOS without .DS_Store and __MACOSX files. Run this script inside the folder you want to zip.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zip -r smart.zip . -x "*.DS_Store" -x "__MACOSX" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment