From f8cf3b15149ded23a84858646f5d7739666e5556 Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 23 Feb 2024 21:03:10 +0100 Subject: refactor(hm/conf/lf/cmds/archive): Use non-abbreviated cli option --- hm/soispha/conf/lf/commands/scripts/archive.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hm/soispha/conf/lf/commands/scripts/archive.sh') diff --git a/hm/soispha/conf/lf/commands/scripts/archive.sh b/hm/soispha/conf/lf/commands/scripts/archive.sh index bee9c341..e8f1365e 100755 --- a/hm/soispha/conf/lf/commands/scripts/archive.sh +++ b/hm/soispha/conf/lf/commands/scripts/archive.sh @@ -60,17 +60,17 @@ done <"$(tmp echo "$fx")" case "$archiver" in "gzip") - tar -czf "$name".tar.gz "$@" + tar --create --gzip -file="$name".tar.gz "$@" ;; "xz") - tar -cf "$name".tar "$@" - xz -z -9 -e -T0 "$name".tar + tar --create --file="$name".tar "$@" + xz --compress -9 --extreme --threads=0 "$name".tar ;; "7z") 7z a "$name".7z "$@" ;; "zip") - zip --symlinks -r "$name".zip "$@" + zip --symlinks -9 -r "$name".zip "$@" ;; esac # vim: ft=sh -- cgit 1.4.1