add script for standard 7z archival with passwort, max compression and encrypted header

master
gutmet 2023-02-04 07:19:50 +01:00
parent ebb00fda95
commit be77c9f2bb
1 changed files with 9 additions and 0 deletions

9
archive Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
set -eu
archivename="$1.7z"
echo "$archivename"
filelist="$@"
7z a -p -mx9 -mhe "$archivename" "$filelist"