Page 1 of 1

Rues not running

PostPosted: Sun Oct 27, 2024 4:12 pm
by the1gofer
I have a list of files that show as matching in the status window, but the rules only run on some of the matches.

In these rules, I have it copy the file to folder from a to b, then move it from a to c.

The move copies to c, but leaves a copy in a.

Re: Rues not running

PostPosted: Mon Oct 28, 2024 9:55 am
by Mr_Noodle
After a copy, subsequent actions in the same rule operate on the copy, not the original. If you want to operate on file a again, you need a "Continue" action and then a separate rule.

Re: Rues not running

PostPosted: Mon Oct 28, 2024 6:48 pm
by the1gofer
Mr_Noodle wrote:After a copy, subsequent actions in the same rule operate on the copy, not the original. If you want to operate on file a again, you need a "Continue" action and then a separate rule.

Ok, but that doesn't explain why only some of the rules are getting exicuted in the first place despite showing matched in the status.

Re: Rues not running

PostPosted: Mon Oct 28, 2024 8:58 pm
by dhy8386
Fwiw I find it cleanlier to use a shell script to execute multiple copy move commands vs creating the multiple additional rules. That of course works well I just prefer a group of actions execute at the same time. You can do as me noodle suggests or just create a bash script that does at cp “$1” <b directory>, mv “$1” <c directory>. I don’t understand what you mean when you say the move moves it c but keeps it in a. Isn’t that just a copy?

Re: Rues not running

PostPosted: Tue Oct 29, 2024 8:51 am
by Mr_Noodle
@the1gofer: I suggest you go through the full troubleshooting guide: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/

Re: Rues not running

PostPosted: Wed Nov 06, 2024 5:16 pm
by the1gofer
dhy8386 wrote:Fwiw I find it cleanlier to use a shell script to execute multiple copy move commands vs creating the multiple additional rules. That of course works well I just prefer a group of actions execute at the same time. You can do as me noodle suggests or just create a bash script that does at cp “$1” <b directory>, mv “$1” <c directory>. I don’t understand what you mean when you say the move moves it c but keeps it in a. Isn’t that just a copy?


I haven't had much luck getting scripts to run ... permissions and all

Re: Rues not running

PostPosted: Wed Nov 06, 2024 5:21 pm
by the1gofer
Mr_Noodle wrote:@the1gofer: I suggest you go through the full troubleshooting guide: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/


Yes, that's why I'm here. The rules are showing as matched, but just don't run. I'll try new rules I guess.
Image

Re: Rues not running

PostPosted: Fri Nov 08, 2024 12:18 pm
by Mr_Noodle
The troubleshooting guide shows how to check rule status and logs as well. That info is important.