Page 1 of 1

How do I keep only 5 files in a folder

PostPosted: Sat Mar 23, 2019 12:17 pm
by heldersales
I back-up my Quicken files to OneDrive -> Quicken. I would like a Hazel rule that keeps track of that folder and keeps only the 5 most recent files.

Re: How do I keep only 5 files in a folder

PostPosted: Mon Mar 25, 2019 11:05 am
by Mr_Noodle
You can do "If <<some date>> is not among the 5 most recent, Move to trash". You'll have to decide which date attribute most accurately reflects your notion of "most recent".