Created
February 1, 2023 17:59
-
-
Save RikoKami/653435a6d972d9f21f6966806301b348 to your computer and use it in GitHub Desktop.
Zipping and deleting folders recursively
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
# include with current commit filename | |
tar --exclude='*.git' --exclude='node_modules' -zcvf `git rev-parse HEAD`.tgz * | |
# simple | |
tar -zcvf filename.tgz * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment