diff options
author | Soispha <soispha@vhack.eu> | 2024-02-23 21:03:10 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-23 21:18:36 +0100 |
commit | f8cf3b15149ded23a84858646f5d7739666e5556 (patch) | |
tree | d28ee0c5eb6d3db4aabb727cff3d8aee82971710 /hm/soispha/conf/lf | |
parent | fix(hm/conf/lf/commands): Check for the file name with the extension added (diff) | |
download | nixos-config-f8cf3b15149ded23a84858646f5d7739666e5556.zip |
refactor(hm/conf/lf/cmds/archive): Use non-abbreviated cli option
Diffstat (limited to 'hm/soispha/conf/lf')
-rwxr-xr-x | hm/soispha/conf/lf/commands/scripts/archive.sh | 8 |
1 files changed, 4 insertions, 4 deletions
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 |