how to mount smb share from command line
I need to access an smbshare and copy a file to the local desktop on the mac, how can i do this?
MacBook Pro, Mac OS X (10.7.5)
I need to access an smbshare and copy a file to the local desktop on the mac, how can i do this?
MacBook Pro, Mac OS X (10.7.5)
"mount_smbfs" command for more info, type "man mount_smbfs"
I keep getting a broken pipe error
admin$ mount_smbfs //user:password@server/share /tmp/mnt
mount_smbfs: server connection failed: Broken pipe
Can you mount smb windows system on Finder?
i only have ssh access to machine
mount -t smbfs smb://admin:password@win/share /tmp/mnt
doesn't work?
/tmp/mnt
Did you create that mountpoint? It won't happen automatically.
no gives me broken pipe
yes mount point created
i am running mount as root. does it matter?
There are other reports that mount_smbfs doesn't work via SSH. Can you log in to the machine locally and test, or can you get someone to do it for you?
You could also try this:
osascript -e 'mount volume "smb://user:password@server/share"'
I don't know. That shouldn't be necessary. See my edited comment.
i am getting this
2014-02-13 23:29:51.156 osascript[17201:707] CFPreferences: user home directory at file://localhost/Local/Users/admin/ is unavailable. User domains will be volatile.
file xxxxxxx:
And does the share mount? If not, what about logging in locally?
where owuld the share be mounted to? I do not have local access to machine
It would mount under /Volumes.
how to mount smb share from command line