Created
July 22, 2022 18:35
-
-
Save AOx0/455581601466665538b682e850f0cd97 to your computer and use it in GitHub Desktop.
Zip all folders in dir
This file contains 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: | |
for i in */; do zip -9 -r "${i%/}.zip" "$i" -x ".DS_Store" -x "__MACOSX"; done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment