From d976a62099222e365ba395f25fbc908dd25fb9aa Mon Sep 17 00:00:00 2001 From: Joursoir Date: Sun, 1 Oct 2023 14:23:00 +0300 Subject: aliases: add TAR utilities for file listing and extraction --- .aliases | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.aliases') 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" -- cgit v1.2.3-18-g5258