rule order

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

Moderator: Mr_Noodle

rule order

Postby hunterd » Sun Mar 27, 2011 9:01 pm

The order of some rules I created aren't behaving as expected/desired. Any help would be appreciated.
I have hazel watching a folder.
First rule- "untagged files" is to move any untagged files into a subfolder (named "untagged")
Second rule- "move in to subfolder" (run rules on folder contents), for any new folders I dump in there
Rules #3-#6- move tagged files to other locations.

For some reason the "untagged files" rule (#1) keeps running on the subfolder (named "untagged") and repeatedly gives me the error message: "Could not move file...source and destination are the same."

It seems like my rule #2 is causing the Rule #1 to go into the subfolder that I don't want it to, and tries to move a file into it's current location. How is that? Am I missing something?
hunterd
 
Posts: 3
Joined: Tue Mar 15, 2011 8:37 pm

Re: rule order

Postby a_freyer » Mon Mar 28, 2011 12:30 am

I'd suggest adding an exclusion rule to your subfolder-diving rule #2 so it'd look like this:

(ALL)

If KIND is FOLDER
AND NAME is not "Untagged Files"

THEN

Run rules on folder contents.
a_freyer
 
Posts: 567
Joined: Tue Sep 30, 2008 9:21 am
Location: Colorado

Re: rule order

Postby hunterd » Mon Mar 28, 2011 9:17 am

Perfect!
Thanks.
hunterd
 
Posts: 3
Joined: Tue Mar 15, 2011 8:37 pm


Return to Support

Who is online

Users browsing this forum: Heritrix [Crawler] and 3 guests



Copyright © 2006-2012 Noodlesoft, LLC, All Rights Reserved. Mac and the Mac logo are trademarks of Apple Computer, Inc., registered in the U.S. and other countries.