Page 1 of 1

2 actions on a file (copy then move)

PostPosted: Sat Aug 11, 2018 2:50 am
by NoodleNewbie
Hi

I do not understand why this seemingly simple rule is not working. My logic must be flawed or I am assuming something I dont realise I am.

Condition met
copy file to folder A
move file to folder B

Essentially,
From a folder
first take a copy of the file (and store it in my backup directory) (action is copy)
then move the original file to my working directory (action is move)

When I run the rule, Hazel is moving the copied file.

How do I instruct hazel to do both these actions on the 1 file.

Re: 2 actions on a file (copy then move)

PostPosted: Sat Aug 11, 2018 9:07 pm
by TheWart
Jumping in before MrNoodle…the reason it seems to be misbehaving is that the actions are performing in logical sequence:

Condition met
copy (matched) file to folder A
move (copied) file to folder B

I produced what I think you want by switching the actions:

Condition met
move (matched) file to folder A
copy (moved) file (from folder A) to folder B

Does that accomplish what you want?

Re: 2 actions on a file (copy then move)

PostPosted: Mon Aug 13, 2018 10:36 am
by Mr_Noodle
Thanks TheWart. Yes, when doing a copy, subsequent actions work on the copy. Doing a move, then copy instead should do what you want.

Re: 2 actions on a file (copy then move)

PostPosted: Mon Aug 20, 2018 8:48 pm
by NoodleNewbie
Thankyou theWart + MrNoodle. All fixed with your help.