Multiple steps on the same file

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

Moderator: Mr_Noodle

Multiple steps on the same file Tue Oct 19, 2021 9:37 am • by Doktor
Hi,

want want to setup the following two rules:

if file ABC exist
1) copy ABC to other drive (NAS)
2) move the (original) ABC to the local backup dir on the computer.

but Hazel moves always the copied ABC file from NAS to the backup dir on my local computer.
And the original ABC file is still in the source dir.

Any hints how can I solve it?

Thanks.
OIiver
Doktor
 
Posts: 2
Joined: Tue Oct 19, 2021 9:33 am

Re: Multiple steps on the same file Tue Oct 19, 2021 10:29 am • by Mr_Noodle
If you do a copy, then subsequent operations apply to the copy. There are two ways to get what you want:

- Do a move first, then a copy.
- Do two rules. One fo copy, and another to move. The first rule needs to use the "Continue" action to allow the second rule to get a chance to be evaluated.
Mr_Noodle
Site Admin
 
Posts: 11193
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Multiple steps on the same file Tue Oct 19, 2021 4:39 pm • by Doktor
Mr_Noodle wrote:If you do a copy, then subsequent operations apply to the copy. There are two ways to get what you want:

- Do a move first, then a copy.

Is not the best solution, because I need to copy the file over over the network twice.


Mr_Noodle wrote:- Do two rules. One fo copy, and another to move. The first rule needs to use the "Continue" action to allow the second rule to get a chance to be evaluated.

That works! Thank you!
Doktor
 
Posts: 2
Joined: Tue Oct 19, 2021 9:33 am


Return to Support