From bb075ed369911860de174323ceb9bd5fbe89a354 Mon Sep 17 00:00:00 2001 From: PedoDeveloper Date: Sat, 9 Nov 2024 07:04:40 +0000 Subject: [PATCH] Added explanation to archive.7z --- modules/archive.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/archive.sh b/modules/archive.sh index 17ed77c..da7bd4d 100755 --- a/modules/archive.sh +++ b/modules/archive.sh @@ -1,4 +1,6 @@ #!/bin/bash +# This script packs a file or directory into a 7z archive with the given password. +# It can (optionally) split the archives into volumes of a fixed size in megabytes. archive_dir="$(dirname "$0")/../archives" @@ -47,7 +49,6 @@ set_volumes() { generate_name() { archive="$archive_dir/$(base64 /dev/urandom | tr -dc [:alnum:] | head -c 20).7z" - echo "Generated archive name $archive" >&2 }