From 82f7acf2cce6be1f94f8a3417b77c8b2ad96bc56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20M=C3=B6lle?= Date: Tue, 18 Apr 2023 19:49:46 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Einstall.sh=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1bedf1e..7916b68 100644 --- a/install.sh +++ b/install.sh @@ -2,10 +2,12 @@ cd /opt/ echo "#!/bin/bash" > zip_folder_daily.sh -echo "# Enter the directory to be zipped (e.g., /path/to/folder)" >> zip_folder_daily.sh +echo "#Enter the directory to be zipped (e.g., /path/to/folder)" >> zip_folder_daily.sh +echo "Enter the directory to be zipped (e.g., /path/to/folder)" read path echo "SOURCE_DIR=" '$path' " " >> zip_folder_daily.sh echo "# Enter the directory where the zipped files will be stored (e.g., /path/to/archive)" >> zip_folder_daily.sh +echo "Enter the directory where the zipped files will be stored (e.g., /path/to/archive)" read archive echo "ARCHIVE_DIR=" '$archive' "" >> zip_folder_daily.sh echo "DATE=$(date +%Y-%m-%d)" >> zip_folder_daily.sh