Page 1 of 1
Applying rules to folders within folders - HELP

Posted:
Sat Mar 12, 2011 8:39 am
by vinyl_vibe
Created a rule for Downloads:
if any Extension is mkv
Open file with application VisualHub
Problem seems to be that the mkv files are contained within folders created within Downloads and as such the rule doesn't execute. As the folders containing the mkv files are dynamically created, I can't setup rules for those specific folders.
Where have I gone wrong?
Re: Applying rules to folders within folders - HELP

Posted:
Sat Mar 12, 2011 4:36 pm
by sjk
Have you read
How to get Hazel to go into subfolders and searched for other topics discussing subfolder processing?
Re: Applying rules to folders within folders - HELP

Posted:
Sat Mar 12, 2011 6:40 pm
by vinyl_vibe
I'd missed that post - thanks very much! Got that working now.
Do you know if it's possible to create exclusions within rules? For example I have rule setup to grab files with an extension of mkv but occasionally the folder will also contain a file that ends sample.mkv. I'd like to find a way of excluding those files from the rule.
Re: Applying rules to folders within folders - HELP

Posted:
Tue Mar 15, 2011 9:22 am
by dhy8386
On your mkv rule add another condition that says if name does not contain sample
Then it should ignore those mkvs with sample in their name
Re: Applying rules to folders within folders - HELP

Posted:
Wed Mar 16, 2011 5:39 pm
by vinyl_vibe
I must doing something wrong in the formatting because if I try to add that to the current rule it not only doesn't ignore that sample file but places both the main & sample file within VisualHub twice.
Here's what it looks like currently:
If "any" -->
"Extension" "is" mkv -->
"Extension" "does not contain" sample -->
Do the following:
"Open file with application: "VisualHub"
"Ignore file"
Re: Applying rules to folders within folders - HELP

Posted:
Thu Mar 17, 2011 10:00 pm
by dhy8386
Because on of your rules is wrong.
Its not if "Extension" does not contain "sample" [the extension is MKV is either case]
Instead its
If "name" does not contain "sample"