Moving file to unattached external drive

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

Moderator: Mr_Noodle

Moving file to unattached external drive Sat Aug 11, 2012 9:11 am • by GeekNeck
Hi all,

What is Hazel's behavior if part of a rule includes a move to an external drive that is not connected? I first do a bunch of renaming, then finally move the file to the external disk. If the disk is not connected, does the rule not fire until the disk is connected or does it cause an error, leaving the file renamed but not moved?

If the latter is true, I suppose I could just create a move rule for the renamed file and remove the move portion of the original rule. Does that seem reasonable? Is there a best practice for this kind of thing? Thanks!

Paul
GeekNeck
 
Posts: 27
Joined: Sat Aug 11, 2012 7:26 am

It will try each action until it fails so in your case, the file will be renamed. I suggest you reverse the order of the actions so that the move happens first. If it fails, it fails early which is probably best in this case.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Moving file to unattached external drive Mon Aug 13, 2012 6:32 pm • by GeekNeck
Mr_Noodle wrote:It will try each action until it fails so in your case, the file will be renamed. I suggest you reverse the order of the actions so that the move happens first. If it fails, it fails early which is probably best in this case.

Ahh, OK, so the plan is move the file first, then rename it on the external drive?
GeekNeck
 
Posts: 27
Joined: Sat Aug 11, 2012 7:26 am

I'd recommend that in this case. I'll look into Hazel possibly pre-checking the destination drive so that it can skip running the rules if it's off-line but for now, that's probably the best way to go.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support