Skip to content

Instantly share code, notes, and snippets.

@yashkumaratri
Created December 14, 2018 11:23
Show Gist options
  • Select an option

  • Save yashkumaratri/1187e41fcf1f965fed91ab8c1c74b401 to your computer and use it in GitHub Desktop.

Select an option

Save yashkumaratri/1187e41fcf1f965fed91ab8c1c74b401 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