Skip to content

Instantly share code, notes, and snippets.

@ziozzang
Created December 16, 2019 04:00
Show Gist options
  • Save ziozzang/566462376857b713b0727a20c478a073 to your computer and use it in GitHub Desktop.
Save ziozzang/566462376857b713b0727a20c478a073 to your computer and use it in GitHub Desktop.
find . -maxdepth 1 -mindepth 1 -type d -exec tar czvf {}.tgz {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment