Created
August 15, 2018 05:40
-
-
Save vishalkardode/7d2e438bbd3c6add49d9f273f6a0f3e6 to your computer and use it in GitHub Desktop.
Create tar by skipping some folders / files
This file contains hidden or 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
| #/bin/sh | |
| tar -czvf test.tar.gz -X exclude-list.txt test |
This file contains hidden or 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
| **/node_modules | |
| **/*.zip | |
| **/.git | |
| **/plugins | |
| **/platforms | |
| **/build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment