Created
March 25, 2025 22:10
-
-
Save binarykore/82bd75b011f45c05b11054e184e79c4b to your computer and use it in GitHub Desktop.
Tar or Archive Zip a Directory..
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/bash | |
base=$(basename $PWD) | |
cd .. | |
tar -czf $base.tar.gz $base | |
# - Made by Mako |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment