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.
mountsmbterminal
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.
Best Answer
You could easily achieve this using
mount_smbfs
(which is, actually, a wrapper formount -t smbfs
) :Optionally, add the workgroup :
You could, of course, change the
./mntpoint
(for something like/Volumes/smb
).After doing this, simply go to
./mntpoint
to browse your data.To unmount, using the following command :