Select folder at subfolder depth

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

Moderator: Mr_Noodle

Select folder at subfolder depth Thu Feb 16, 2017 11:53 am • by petereadman
I'm trying and failing to select a folder at a specific subfolder depth. I can select a file within the folder, but not the folder itself.

Watched_folder ---> subfolder01 ---> subfolder02 ---> subfolder03

How do I write and order the rules to select subfolder03 (i.e. the folder itself, so I can copy it out to another location) ?

I currently have two rules:
- rule 1 : if kind is folder then run rules on folder contents
- rule 2 : if kind is folder and subfolder depth is 3 then set color to blue

nothing happens

but if I change kind from folder to file in rule 2, then the file within subfolder03 is colored blue. So I can grab the file but not the folder. What am I doing wrong?

Thanks
petereadman
 
Posts: 4
Joined: Wed Jan 18, 2017 11:17 am

Re: Select folder at subfolder depth Thu Feb 16, 2017 1:04 pm • by Mr_Noodle
Try reversing the rule order. The way you have it now, all folders will match rule 1 and never get to rule 2.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Select folder at subfolder depth Thu Feb 16, 2017 10:24 pm • by TheOneTrueRobb
Mr_Noodle wrote:Try reversing the rule order. The way you have it now, all folders will match rule 1 and never get to rule 2.



OK, I stopped by to ask a similar question: I'm trying to remove tags from all of the contents in a particular folder, whether file or sub-folder. Of course, I'm running into a similar problem...
TheOneTrueRobb
 
Posts: 22
Joined: Fri Jul 27, 2012 10:46 pm

Re: Select folder at subfolder depth Fri Feb 17, 2017 10:02 am • by petereadman
Mr_Noodle wrote:Try reversing the rule order. The way you have it now, all folders will match rule 1 and never get to rule 2.


Thanks Mr Noodle - working now :D
petereadman
 
Posts: 4
Joined: Wed Jan 18, 2017 11:17 am


Return to Support