I still feel like a noob on a Mac even though I’ve been working professionally on one for almost 9 months. Today I needed to copy files from one Mac to another and I wanted to do that all from the command line. One way to do that is to use the mount command. Here are the steps:
mount -t afp afp://remotehost/shareddir remotedisk
The trick here is to specify the file system (
-t afp) and to specify the remote shared folder with the correct syntax (
I found the man pages for mount to be less than helpful for discovering this. However, I did find a web page that helped.