From 8df4abafcad8ceee58018ab1743785e94b9cd59d Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 16 Nov 2024 15:37:38 +0100 Subject: [PATCH] tc,tl,tv,tx --- shell/alias/tar.sh | 44 +++++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/shell/alias/tar.sh b/shell/alias/tar.sh index 74b5020..bfbf7be 100644 --- a/shell/alias/tar.sh +++ b/shell/alias/tar.sh @@ -1,21 +1,27 @@ -alias tc="\ -tar \ ---verbose \ ---create \ ---auto-compress \ ---file \ -" +tc() { + tv \ + --create \ + --auto-compress \ + --file \ + "${@}" +} -alias tl="\ -tar \ ---verbose \ ---list \ ---file \ -" +tl() { + tv \ + --list \ + --file \ + "${@}" +} -alias tx="\ -tar \ ---verbose \ ---extract \ ---file \ -" +tv() { + tar \ + --verbose \ + "${@}" +} + +tx() { + tv \ + --extract \ + --file \ + "${@}" +}