mirror of https://github.com/jarun/nnn.git
add zip plugin
This commit is contained in:
parent
a228e73c4b
commit
4eedeaf57c
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue