Page 1 of 1

Select folder at subfolder depth

PostPosted: 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

Re: Select folder at subfolder depth

PostPosted: 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.

Re: Select folder at subfolder depth

PostPosted: 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...

Re: Select folder at subfolder depth

PostPosted: 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