about summary refs log tree commit diff stats
path: root/hm/soispha/conf/lf
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-23 21:03:10 +0100
committerSoispha <soispha@vhack.eu>2024-02-23 21:18:36 +0100
commitf8cf3b15149ded23a84858646f5d7739666e5556 (patch)
treed28ee0c5eb6d3db4aabb727cff3d8aee82971710 /hm/soispha/conf/lf
parentfix(hm/conf/lf/commands): Check for the file name with the extension added (diff)
downloadnixos-config-f8cf3b15149ded23a84858646f5d7739666e5556.zip
refactor(hm/conf/lf/cmds/archive): Use non-abbreviated cli option
Diffstat (limited to 'hm/soispha/conf/lf')
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/archive.sh8
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