Copy/Move folders with older creation dates

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

Moderator: Mr_Noodle

I am trying to come up with a workflow to copy/move folders older then a certain date to another folder. The folder structure is Work -> Client Names -> Job numbers. The folders Job Numbers is what I want to copy/move to another folder. The following is what I thought might work.

If all of the conditions are met
Kind is Folder
Subfolder Depth is 2
Date Created is before specific date xx/xx/xxxx

Do the following to the matched file or folder:
Copy to folder X

This does not seem to work, any suggestions?
Thank you,
pawlowskijim
 
Posts: 3
Joined: Wed Nov 26, 2014 5:51 pm

See the sticky article at the top of this forum on subfolders. You need to add the rule there to get Hazel to go into subfolders to get to the folder you want.
Mr_Noodle
Site Admin
 
Posts: 11866
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

I am unable to get the rule to look past the second level, looking at the job number folders. If I add each second level folder (client name) and give each a rule it works fine. The problem with that is I would have to 240 folders and rules. When I want to change the date to move a folder I would have to update all 240 folders.
pawlowskijim
 
Posts: 3
Joined: Wed Nov 26, 2014 5:51 pm

I was able to get this to work.
Selected the Folder 'Work' added two rules:
Rule #1 'Go to Subfolder'
If all of the following conditions are met
Kind is Folder
Subfolder Depth is 0
Do the following to the matched file or folder
Run rules on folder contents
Rule #2 'Archive'
If all of the following conditions are met
Name starts with 2 (only choose numbered folders not named folders)
Date Created is before specific date 6/2/2013 (Choose only folders before date)
Do the following to the matched file or folder
Move to folder 'Waiting to Archive'

Next goal is to come up with a rule for folder 'Waiting to Archive' that would email or text me that the contents has reached 45GB.
pawlowskijim
 
Posts: 3
Joined: Wed Nov 26, 2014 5:51 pm


Return to Support