Skip to content

Instantly share code, notes, and snippets.

@cancerberoSgx
Last active June 29, 2018 23:41
Show Gist options
  • Save cancerberoSgx/27e93c5047af531119cc265ae9849af9 to your computer and use it in GitHub Desktop.
Save cancerberoSgx/27e93c5047af531119cc265ae9849af9 to your computer and use it in GitHub Desktop.
tgz excluding folders
tar --exclude='./.git' --exclude='./node_modules' -zcvf ../project-foo.tgz .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment