add zip plugin

This commit is contained in:
Darukutsu 2024-01-27 11:11:12 +01:00
parent a228e73c4b
commit 4eedeaf57c
1 changed files with 0 additions and 2 deletions

View File

@ -128,7 +128,6 @@ zip_selection_individualy(){
xargs -0 -I{} tar -cvf "{}.tar" "{}" < "$selection" xargs -0 -I{} tar -cvf "{}.tar" "{}" < "$selection"
compress_tar 'printf "%s" "{}"' "$selection" compress_tar 'printf "%s" "{}"' "$selection"
fi fi
password_protect 'basename "{%}"' "$selection"
else else
if [ "$alg" = "zip" ]; then if [ "$alg" = "zip" ]; then
xargs -0 -I{} sh -c ' xargs -0 -I{} sh -c '
@ -145,7 +144,6 @@ zip_selection_individualy(){
' < "$selection" ' < "$selection"
compress_tar 'basename "{}"' "$selection" compress_tar 'basename "{}"' "$selection"
fi fi
password_protect 'basename "{%}"' "$selection"
fi fi
password_protect 'basename "{%}"' "$selection" password_protect 'basename "{%}"' "$selection"
} }