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

This commit is contained in:
gutmet 2023-02-04 07:19:50 +01:00
parent ebb00fda95
commit be77c9f2bb

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"