Applying rules to folders within folders - HELP

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

Moderator: Mr_Noodle

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?
vinyl_vibe
 
Posts: 22
Joined: Sat Mar 12, 2011 8:36 am

Have you read How to get Hazel to go into subfolders and searched for other topics discussing subfolder processing?
sjk
 
Posts: 332
Joined: Thu Aug 02, 2007 5:43 pm
Location: Eugene

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.
vinyl_vibe
 
Posts: 22
Joined: Sat Mar 12, 2011 8:36 am

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
dhy8386
 
Posts: 96
Joined: Tue Nov 09, 2010 12:19 pm

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"
vinyl_vibe
 
Posts: 22
Joined: Sat Mar 12, 2011 8:36 am

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"
dhy8386
 
Posts: 96
Joined: Tue Nov 09, 2010 12:19 pm


Return to Support