aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2023-10-01 14:23:00 +0300
committerJoursoir <chat@joursoir.net>2023-10-29 20:57:06 +0300
commitd976a62099222e365ba395f25fbc908dd25fb9aa (patch)
treedaed44eeeaf5056e8223643865562b8da5e64d3f /.aliases
parent1ad9c63779ff2bd90638531b2719a59d62ab04d7 (diff)
downloaddotfiles-d976a62099222e365ba395f25fbc908dd25fb9aa.tar.gz
dotfiles-d976a62099222e365ba395f25fbc908dd25fb9aa.tar.bz2
dotfiles-d976a62099222e365ba395f25fbc908dd25fb9aa.zip
aliases: add TAR utilities for file listing and extraction
Diffstat (limited to '.aliases')
-rw-r--r--.aliases9
1 files changed, 9 insertions, 0 deletions
diff --git a/.aliases b/.aliases
index b1324a9..cac84a0 100644
--- a/.aliases
+++ b/.aliases
@@ -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"