Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two AFP file shares mounted on my OS X laptop. Both AFP shares are on the same OS X server. When I copy files across them, it looks like the files transfers to my machine first and then back up to the server. Is seems like a waste of time. Why can't it transfer it directly without having to down the network and back up?

share|improve this question

Filesystems don't know when they're copying files. They know that an application has opened a file and is reading from it, and they know that an application has created another file and is writing to it, but there's no way for the filesystem to know that the new file being written is ultimately intended to be an exact copy of the file being read from.

If you want to transfer a file directly on a server, do something like this:

ssh user@host cp src dest

or this:

scp user@host:src user@host:dest

(scp remote-to-remote tells the src host to connect directly to the dest host, which in this case is the same host, so I believe it'll be a local-on-the-server loopback scp copy.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.