Sorting Files with More than One Tag

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

Moderator: Mr_Noodle

Sorting Files with More than One Tag Wed Dec 09, 2015 9:16 pm • by Radkee
Is there a way to sort files if they contains more than one tag?

For instance, files will be tagged with Personal by default. Later, they will receive an additional tag. From there, I would like those files moved to a different folder. These tags will vary, so I don't want to list the specific tags to in order to move the files.

I've been experiencing TAGS MATCH, but I don't think it will do what I planned. I'm trying to find out if there is a way to do this without writing a script. Am I missing it or will this request require scripting?

I've tried:

Tags match abc abc
Tags match Personal abc

I was seeing if this represented two tags, but I figured it's looking for a tag named "Personal (extra word)", which I'm not using.

Any ideas? :)
Radkee
 
Posts: 6
Joined: Wed Dec 09, 2015 9:05 pm

Re: Sorting Files with More than One Tag Thu Dec 10, 2015 11:35 am • by Mr_Noodle
"Tags match" looks for patterns in the tag's text. If you are searching for specific tags, you should use "Tags contain tags" and specify the tags there.
Mr_Noodle
Site Admin
 
Posts: 11951
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Sorting Files with More than One Tag Thu Dec 10, 2015 12:13 pm • by Radkee
Thank you for the reply, but I am trying to avoid "tags contain" because the tags will vary as time passes. The only step I'm missing is "if tags contain more than one tag" then "move to this folder". Is there a way to use the existing features (without scripting) to move files if tags contain more than one tag? Or is a script needed for this?
Radkee
 
Posts: 6
Joined: Wed Dec 09, 2015 9:05 pm

Re: Sorting Files with More than One Tag Thu Dec 10, 2015 4:17 pm • by Mr_Noodle
Note that using "matches" only matches against a single tag. It doesn't combine the tags into a single long string of text to match against. If you want to match multiple tags, then use a separate condition to match each individually. It's probably better to do it this way anyways as that way, it won't be dependent on the order of the tags.
Mr_Noodle
Site Admin
 
Posts: 11951
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Sorting Files with More than One Tag Tue Jan 12, 2016 1:39 pm • by buddyq
Mr_Noodle wrote:"Tags match" looks for patterns in the tag's text. If you are searching for specific tags, you should use "Tags contain tags" and specify the tags there.


I have tried and tried with this rule and nothing happens. I've tried several different parameters and it seems using tags is buggy.

Here is a screenshot. This rule does not work. http://imgur.com/55cTM6J
I have checked a 100 times and am sure the files in question do contain that tag! So why doesn't it work?

I checked the log and it does not give an error.
buddyq
 
Posts: 5
Joined: Tue Jan 12, 2016 1:35 pm

Re: Sorting Files with More than One Tag Wed Jan 13, 2016 11:55 am • by Mr_Noodle
What does it look like in the preview?
Mr_Noodle
Site Admin
 
Posts: 11951
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Sorting Files with More than One Tag Wed Jan 13, 2016 11:57 am • by buddyq
Mr_Noodle wrote:What does it look like in the preview?


Sorry, I do not know what "preview" you are talking about? Can you explain to me where this feature is?
buddyq
 
Posts: 5
Joined: Tue Jan 12, 2016 1:35 pm

Re: Sorting Files with More than One Tag Wed Jan 13, 2016 12:00 pm • by Mr_Noodle
The "eye" button in the main interface. It's what you use to debug your rule logic. You can see if the matches or not there and why or why not.
Mr_Noodle
Site Admin
 
Posts: 11951
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Sorting Files with More than One Tag Wed Jan 13, 2016 12:06 pm • by buddyq
Image

Looks like this example file matches "Old Files". Does this mean it can't match my other rule also? Only one rule per file?
buddyq
 
Posts: 5
Joined: Tue Jan 12, 2016 1:35 pm

Re: Sorting Files with More than One Tag Wed Jan 13, 2016 12:42 pm • by buddyq
Hmm.... disabled "Old Files" then checked preview. It then matched another rule. Disabled that rule and then it worked. Can it not match multiple rules? These other rules were just checking dates and assigning a color.
buddyq
 
Posts: 5
Joined: Tue Jan 12, 2016 1:35 pm

Re: Sorting Files with More than One Tag Wed Jan 13, 2016 12:53 pm • by Mr_Noodle
By default, only one rule can match. If you want to continue matching after a rule matches, try adding the "Continue" action to the rule.
Mr_Noodle
Site Admin
 
Posts: 11951
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support