Mount afp share over command line
April 29, 2010 – 1:15 pmThis is so useful to me that I have to repost it here, just in case it disappears.
# create a folder for the mount point sudo mkdir /Volumes/music # mount the disk mount -t afp afp:/// /Volumes/music/ #refresh the finder for when you get back disktool -r # when you're done sudo umount /Volumes/music
Found on macosxhints



2 Responses to “Mount afp share over command line”
You can also do this via the ‘open’ command:
open afp://
The name of the share point will become the mount point under /Volumes
Then you can umount:
umount /Volumes/
Sudo not required (in my limited testing).
A.
By Armando Rivera on May 19, 2010
Seems as though items after “/” get stripped out here.
By Armando Rivera on May 19, 2010