"If" statement not working

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

Moderator: Mr_Noodle

"If" statement not working 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
rbanks88
 
Posts: 12
Joined: Fri Jan 08, 2016 11:15 am

Re: "If" statement not working 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.
Mr_Noodle
Site Admin
 
Posts: 11951
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: "If" statement not working Sun Jan 10, 2016 5:09 pm • by rbanks88
That fixed it. Thanks for the help, Mr. Noodle!


Best,
Russell
rbanks88
 
Posts: 12
Joined: Fri Jan 08, 2016 11:15 am


Return to Support