Last active
May 29, 2023 02:36
-
-
Save coskuntekin/92853fa0caeae77e9723f78bde455e40 to your computer and use it in GitHub Desktop.
Compress folders
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
for dir in *; do | |
tar -czvf $dir.tgz --exclude='node_modules' "$dir" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment