From be77c9f2bb2a640ac2340086a241d81ee8d4937b Mon Sep 17 00:00:00 2001 From: gutmet Date: Sat, 4 Feb 2023 07:19:50 +0100 Subject: [PATCH] add script for standard 7z archival with passwort, max compression and encrypted header --- archive | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 archive diff --git a/archive b/archive new file mode 100755 index 0000000..a18004c --- /dev/null +++ b/archive @@ -0,0 +1,9 @@ +#!/bin/bash + +set -eu + +archivename="$1.7z" +echo "$archivename" +filelist="$@" + +7z a -p -mx9 -mhe "$archivename" "$filelist"