Move Files to Network Device and replace existing files

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

Moderator: Mr_Noodle

Hi,

I have a problem to move files to a network device and replace existing files there,

Scenario:
Mac A with File: test.txt
Mac B also with File: test.txt

Hazel Rule on Mac A:
If filename is test.txt then Move file to Mac B and replace existing files.

Then I get an error message, that it could not be moved. How can I solve this?

And is there a possibility to wake up Mac B and connect to Mac B automatically, before moving the file?

Thanks a lot!
xaMax
 
Posts: 17
Joined: Thu May 01, 2008 8:23 am

You'd need to check the logs. Go to the "Info" pane and click "View Log". Search for the file in question.

If the other Mac is asleep, then no, the move won't work. To wake it, you'd need to write a script. It's beyond the help I can give you but you probably want to hook into the "Wake on LAN" function.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

The other Mac was awake and I got this error message:

2010-05-01 12:50:10.258 hazelfolderwatch[25321] Error moving file /Users/user/test.txt to /Volumes/test.txt: -47 - File is busy (delete)
2010-05-01 12:50:10.282 hazelfolderwatch[25321] [Error] Move failed: Could not move file test.tt from folder /Users/muser/test.txt to folder /Volumes/test.txt.

As I said: On /Volumes there already exists this file.
Is it possible, that you can't delete files on an external drive from another mac within the network?
And therefore the "move" failed?

For waking up, I assumed to go deeper into WOL. Already tried it once and it didn't work reliable... but let's see ;)
xaMax
 
Posts: 17
Joined: Thu May 01, 2008 8:23 am

Are you running the latest version of Hazel? While there are isolated cases where that error may happen, it should be quite rare.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr_Noodle wrote:Are you running the latest version of Hazel? While there are isolated cases where that error may happen, it should be quite rare.

Yes it is the latest version.

I will try it again this weekend. Perhaps it was some other problems?!
Let's see!
xaMax
 
Posts: 17
Joined: Thu May 01, 2008 8:23 am


Return to Support