Created
November 1, 2018 16:54
-
-
Save jimkang/0b7274ea9e2eb4989662efbbcb537cdb to your computer and use it in GitHub Desktop.
This is tar exclude command syntax that actually works on OS X. Run from the directory enclosing the project folder.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar -zcvf project.tgz --exclude "./project/node_modules" ./project |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment