Skip to content

Instantly share code, notes, and snippets.

@anubhavsrivastava
Last active December 31, 2020 18:20
Show Gist options
  • Save anubhavsrivastava/09419016b791d124bd0ebe45ad2341be to your computer and use it in GitHub Desktop.
Save anubhavsrivastava/09419016b791d124bd0ebe45ad2341be to your computer and use it in GitHub Desktop.
for i in */; do zip -r "${i%/}.zip" "$i"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment