snippets/archive

10 lines
122 B
Plaintext
Raw Permalink Normal View History

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