From 44e574c7cfff4102b5d425054cef90d9fc2b5aa6 Mon Sep 17 00:00:00 2001 From: Azalea Gui Date: Wed, 7 Aug 2024 17:03:29 -0400 Subject: [PATCH] [+] compress-7zst --- scripts/zshrc.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/zshrc.sh b/scripts/zshrc.sh index 279d697..f7fbaa8 100755 --- a/scripts/zshrc.sh +++ b/scripts/zshrc.sh @@ -132,6 +132,15 @@ has() { command -v "$1" &> /dev/null } +# Compress 7z zstd +compress-7zst() { + if [ -z "$1" ]; then + echo "Usage: compress-7zst " + return + fi + 7z a -m0=zstd -mx17 -mmt35 "$1" "$2" +} + # Install using system package manager install-package() { if has pacman; then