Can Hazel scan for matches between file and folder names?

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

Moderator: Mr_Noodle

I know I can create a rule to move all files with “sierra” on their name to a folder called “sierra”.

But is there a way to make Hazel scan all files from a location and all folders from a different location and check if there is a “sierra” folder that matches a “sierra” .jpg and if so move the jpg to the folder?

Basically, I'm dealing with temporary files and folders (they get deleted and new ones are added with different names), so making permanent rules that will only match one temporary file to one temporary folder isn't really practical.

I have looked around in the forum and in the manuals, but I haven't found a way to do it.

Is that something Hazel can do? (I don't think it can, but I don't know that it can't. So I'm asking to confirm or in case I'm wrong).

If not, is it something that might be added in the future?
Pemtx
 
Posts: 3
Joined: Sun Mar 31, 2019 12:48 pm

Are the folders "close" to eachtother (like sibling folders)? If so, you might be able to use nested conditions to get from one to the other.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron