Page 1 of 1

"If" statement not working

PostPosted: Fri Jan 08, 2016 11:25 am
by rbanks88
I’m trying to set a rule to move log files from my Documents folder to another folder:

If All the following conditions are met:

Name, ends with Conduit.log (and they all do)

Move to folder: foldername
--------------------------------

Seems straightforward but the files don’t move, even when I tell Hazel to "Run Rules Now." Actually, Hazel got this rule started when I selected the files in the Finder and added the Documents folder to Hazel's watch list, creating the "Name, ends with Conduit.log " if statement.

What am I missing?


Thanks,
Russell

Re: "If" statement not working

PostPosted: Fri Jan 08, 2016 12:03 pm
by Mr_Noodle
Note that "Name" includes the part without the extension. You may want to use "Full Name" instead. Also, check the preview (click the "eye" button) to double-check your rule logic.

Re: "If" statement not working

PostPosted: Sun Jan 10, 2016 5:09 pm
by rbanks88
That fixed it. Thanks for the help, Mr. Noodle!


Best,
Russell