Delete all but the three latest folders possible?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Hi there,

I'm generating automated backups on a weekly basis and I'm looking for a receipt to delete all but the latest three backup-folders.

Is that possible?

Cheers,
Bastian
Bastian
 
Posts: 5
Joined: Tue Feb 02, 2010 7:26 pm

Maybe just run a rule that says if kind is folder and create date is not in the last 3 weeks THEN move to trash. That should keep all last three folders if you are really creating them weekly.
dhy8386
 
Posts: 94
Joined: Tue Nov 09, 2010 12:19 pm

You can do something like "Date added/created/modified is not among the 3 most recent, move to trash". You'll have to figure out which date attribute works best for you here.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support