I would like to mount an SMB network share from the command line (terminal); how would I go about that?
I am using Mac OS X 10.6.4.
You could easily achieve this using
Optionally, add the workgroup :
You could, of course, change the
After doing this, simply go to
To unmount, using the following command :
You should take a look at mount’s help:
Upon closer inspection you’ll see that the filesystem’s type is:
Password (and theoretically username) are optional.
The result of the above command will be no output (if all went ok), but a
You can also use mount_smbfs to replace the mount -t smbfs.