diff options
author | Joursoir <chat@joursoir.net> | 2023-10-01 14:23:00 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2023-10-29 20:57:06 +0300 |
commit | d976a62099222e365ba395f25fbc908dd25fb9aa (patch) | |
tree | daed44eeeaf5056e8223643865562b8da5e64d3f | |
parent | 1ad9c63779ff2bd90638531b2719a59d62ab04d7 (diff) | |
download | dotfiles-d976a62099222e365ba395f25fbc908dd25fb9aa.tar.gz dotfiles-d976a62099222e365ba395f25fbc908dd25fb9aa.tar.bz2 dotfiles-d976a62099222e365ba395f25fbc908dd25fb9aa.zip |
aliases: add TAR utilities for file listing and extraction
-rw-r--r-- | .aliases | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -26,5 +26,14 @@ alias df="df -h" alias lsmb="ls -l --block-size=MiB" alias lsgb="ls -l --block-size=GiB" +# Hint: use "tarls/untar {filename} -v" to print more information, such as +# ownership, filesize, timestamp, etc + +# List the content (-t) of TAR file (-f) +alias tarls="tar -tf" + +# Extract files (-x) from TAR archive (-f) +alias untar="tar -xf" + # Always preload a math library, so the default _scale_ is set to 20 alias bc="bc -l" |