From a56c9d5185545c7d49400217e89e3eeced46d287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20M=C3=B6lle?= Date: Tue, 18 Apr 2023 20:00:17 +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, 1 insertion(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 5b83e71..b8cddd7 100644 --- a/install.sh +++ b/install.sh @@ -13,9 +13,7 @@ echo "# Enter the directory where the zipped files will be stored (e.g., /path/t 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 -echo "zip -r "${ARCHIVE_DIR}/folder_${DATE}.zip" "${SOURCE_DIR}"" >> zip_folder_daily.sh -echo "find "${ARCHIVE_DIR}" -name "folder_*.zip" -mtime +13 -exec rm {} \;" >> zip_folder_daily.sh +curl https://git.moelle.space/hxcde/folderarchive/raw/branch/main/append >> zip_folder_daily.sh sh /opt/zip_folder_daily.sh crontab -l > mycron