Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 748 Bytes

README.MD

File metadata and controls

25 lines (14 loc) · 748 Bytes

Regular Recycler is a simple script to scan all of the trash folders it can and delete older files. Set it up with LazyCron to run it on a regular schedule and keep the trash folders clear of older files so they don't take up too much space.

Usage:

Specify the number of days for files to be deleted:

  ./RegularRecycler.py --age <file age in days>  

You can also set more strict requirements for larger files:

  ./RegularRecycler.py --largeage <file age in days>  

By default, it will simply print each file that would be deleted.

To actually delete them, run it with the --destroy option.


Get help by typing ./RegularRecycler.py -h for a full list of options.