Page 1 of 1

Rule Matches, but nothing happening

PostPosted: Tue Feb 04, 2014 1:17 pm
by thecharles
I created a simple rule (as a test) that if a filename matches, the file is copied to the desktop and then moved to the trash. It matches, but is not copied to the desktop and is copied to the trash, not moved to it, even though the log says differently. Any thoughts?

2014-02-04 12:00:12.113 hazelworker[25424] test.rtf: Rule Test Delete matched.
2014-02-04 12:00:12.238 hazelworker[25424] [File Event] File copied: test.rtf copied from folder /Users/blah/Dropbox/Download to folder /Users/blah/Desktop.
2014-02-04 12:00:12.434 hazelworker[25424] [File Event] File moved: test.rtf moved from folder /Users/blah/Desktop to folder /Users/blah/.Trash.
2014-02-04 12:00:12.462 hazelworker[25424] Done processing folder Download
2014-02-04 12:00:13.563 hazelworker[25439] Processing folder Trash
2014-02-04 12:00:14.705 hazelworker[25439] Done processing folder Trash

Re: Rule Matches, but nothing happening

PostPosted: Tue Feb 04, 2014 3:22 pm
by thecharles
Okay, if I break it up into two rules it seems to work.

Is that how hazel thinks? I thought that it evaluated the actions in the order that they were put into the actions panel (or whatever it is called).

Re: Rule Matches, but nothing happening

PostPosted: Tue Feb 04, 2014 5:19 pm
by Mr_Noodle
No, the problem is that if you use the copy action, the actions afterwards operate on the copy. Also, you should consider doing a move instead of a copy then trash.

Re: Rule Matches, but nothing happening

PostPosted: Wed Feb 05, 2014 12:43 pm
by thecharles
Thanks! I had never done anything that put a file into multiple locations, so I didn't understand how it works. I was able to fix the rule and all is well.