Update README.md
This commit is contained in:
parent
f39ddea823
commit
d38e1613c3
18
README.md
18
README.md
|
@ -1,3 +1,19 @@
|
||||||
# backupcleaner
|
# backupcleaner
|
||||||
|
|
||||||
Tool to cleanup backup directory with daily, weekly and monthly backups
|
Tool to cleanup backup directory with daily, weekly and monthly backups.
|
||||||
|
|
||||||
|
```
|
||||||
|
usage: clean-backups.py [-h] [-d N] [-w N] [-m N] [-f] PATH
|
||||||
|
|
||||||
|
Cleanup old backups
|
||||||
|
|
||||||
|
positional arguments:
|
||||||
|
PATH directory path
|
||||||
|
|
||||||
|
optional arguments:
|
||||||
|
-h, --help show this help message and exit
|
||||||
|
-d N, --daily N keep N daily backups, default: 7
|
||||||
|
-w N, --weekly N keep N weekly backups, default: 4
|
||||||
|
-m N, --monthly N keep N monthly backups, default: 3
|
||||||
|
-f, --force suppress remove confirmation
|
||||||
|
```
|
Loading…
Reference in New Issue