From 400dd25e7dd19fdb8d25ac030c0810bf7275f2f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20M=C3=B6lle?= Date: Tue, 18 Apr 2023 20:27:14 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c55dabc..347e0cc 100644 --- a/README.md +++ b/README.md @@ -29,10 +29,13 @@ sh -c "$(curl -L http://script.moelle.space/folderarchive)" Edit the file zip_folder_daily.sh `(If you used automatic install it's in /opt)` and change the day number in line 16. - If you want 30 days, it's `30 minus 1`, so `29` -> find "${ARCHIVE_DIR}" -name "folder_*.zip" -mtime +`13` -exec rm {} \; +```bash +find "${ARCHIVE_DIR}" -name "folder_*.zip" -mtime +`13` -exec rm {} \; +``` #### to -> -> find "${ARCHIVE_DIR}" -name "folder_*.zip" -mtime +`29` -exec rm {} \; - +```bash +find "${ARCHIVE_DIR}" -name "folder_*.zip" -mtime +`29` -exec rm {} \; +```