„README.md“ ändern
This commit is contained in:
parent
df55cbd534
commit
400dd25e7d
@ -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 {} \;
|
||||
```
|
||||
</details>
|
||||
|
||||
<details>
|
||||
|
Loading…
Reference in New Issue
Block a user