Update README.md

This commit is contained in:
hxcde 2023-04-08 21:45:44 +02:00 committed by GitHub
parent 452813af79
commit 83c15d5e7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 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). - 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: Add the following to cron:
```bash ```bash
0 13 * * * /path/to/script/zip_folder_daily.sh 0 13 * * * /path/to/script/zip_folder_daily.sh