Skip to content

Instantly share code, notes, and snippets.

@AOx0
Created July 22, 2022 18:35
Show Gist options
  • Save AOx0/455581601466665538b682e850f0cd97 to your computer and use it in GitHub Desktop.
Save AOx0/455581601466665538b682e850f0cd97 to your computer and use it in GitHub Desktop.
Zip all folders in dir
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