Find specific folder's content and move to new folder

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

Moderator: Mr_Noodle

Hello there

Here is my situation

Photoshop has a quick function: Export as: it creates a folder containing the name -assets
I am looking for a way to grab the files into the asset folder and move them to a folder called mock-ups. Its just much more clean in my head.

So my structure is: Jobs > Client > Jobs (multiple folders)
Each job folder can have multiple projects so in those project folders an -asset folder can be found.

How do I ensure it finds all -asset folders and move its contents to a new folder in the root of the project folder (aka not in the folder -assets) but one level up.

I have been trying too hard to make it work, but I just can't.

Thank you for your insights.
Hokusai
 
Posts: 1
Joined: Sat Dec 11, 2021 9:22 am

You will need to have Hazel go into subfolders. The manual has a whole chapter on this and I suggest reading it carefully.

The Move action has a target of the enclosing folder.

The tricky part is to make sure you structure the rules/conditions such that files that have already been moved are not processed again, since the destination folder would still be reachable by the subfolder rule.
Mr_Noodle
Site Admin
 
Posts: 11251
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support