File by Tag

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

Moderator: Mr_Noodle

File by Tag Sat Sep 09, 2017 6:50 am • by jdwoods
I'd like to manually assign a tag to a file in my downloads folder and have Hazel move the file to an appropriate folder. I can see how to do this with a new rule for each action. Is there a method of building one rule which will identify multiple different tags and assign the file to the folder associated with one tag?
For example, if tag is 'A' move to folder 'A', if tag is 'B' move to folder 'B'.
The nested function allows development of multiple criteria to select a file. I couldn't work out or find a method of moving a file to a different folder depending on the tag detected.
Thanks!
jdwoods
 
Posts: 2
Joined: Sat Sep 09, 2017 6:42 am

Re: File by Tag Mon Sep 11, 2017 11:06 am • by Mr_Noodle
I'm not sure if I follow. Can you give me an example of a file going through this workflow?
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: File by Tag Mon Sep 18, 2017 11:10 am • by Dave61
I think I understand what you are trying to do. It is actually quite easy if you use the tags in a pattern, and a consistent order.

My tag pattern is
1st Work|Home
2nd Client (preceded by a colon, which quickly limits the tags)
3rd, 4th, 5th subfolders below each client

I use the following rule to organise files for each client:
https://www.dropbox.com/s/1fdjy5y0ueg0orh/Hazel%20170918%206.png?dl=0

The pattern detail is this:
https://www.dropbox.com/s/3i9shameuc600dl/Hazel%20170918%207.png?dl=0
With the tags set sequentially (5th shown as example). The extra symbol against "tags" between Client and Project removes the colon.

You can make tags up on the fly and it doesn't matter if there are fewer tags than you have allowed for in the rule.
Dave61
 
Posts: 114
Joined: Tue Jul 10, 2012 4:56 pm


Return to Support