M README => README +3 -2
@@ 34,8 34,8 @@ Usage
ENV:
ALGO Cipher Algo, current: AES256
- see gpg --version
- COMP compression from suffix, current: tar.gz
+ see gpg --version
+ COMP compression tar.*;zip, current: tar.gz
SEND sendmail compatible command, current: msmtp -t
SUBF pass subfolder, current: send-files
@@ 49,6 49,7 @@ Dependencies
- openssl
- sendmail
- tar
+- zip
Contribution welcome
M send-files => send-files +6 -1
@@ 14,7 14,7 @@ _usage() {
ENV:
ALGO Cipher Algo, current: ${ALGO}
see gpg --version
- COMP compression from suffix, current: ${COMP}
+ COMP compression tar.*;zip, current: ${COMP}
SEND sendmail compatible command, current: ${SEND}
SUBF pass subfolder, current: ${SUBF}
EOF
@@ 56,6 56,11 @@ _archive() { # comp files...
c=--zstd ;;
*xz)
c=--xz ;;
+ zip)
+ shift
+ zip -r - -- "$@"
+ return 0
+ ;;
*)
c=--no-auto-compress
;;