From 83c15d5e7d3b543193afc9d9a92e6cceb16bf779 Mon Sep 17 00:00:00 2001 From: hxcde <30338980+hxcde@users.noreply.github.com> Date: Sat, 8 Apr 2023 21:45:44 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 6e628f7..8555df0 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,14 @@ Daily Folder Backup and Rotation for Linux - The find command is used to delete files older than 14 days in the archive directory. - The cron entry schedules the script to run daily at 13:00 (1 PM). +Install git and zip +```bash +apt install git zip -y +``` +Clone the repository +```bash +git clone https://github.com/hxcde/folderarchive.git +``` Add the following to cron: ```bash 0 13 * * * /path/to/script/zip_folder_daily.sh