Created
March 15, 2026 15:01
-
-
Save 2ndkauboy/c6320e3145911bb646b3b481adbacf4c to your computer and use it in GitHub Desktop.
Archive Alias
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
| alias archive='function _archive() { folder_name=$(basename "$1"); tar -cvf - "$1" | pigz -9 -p 12 > "$folder_name".tar.gz; }; _archive' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment