Solved

Mounting an SMB directory with a space from command line on MAC OSX

Posted on 2014-09-20
2
419 Views
Last Modified: 2014-09-29
I am having a problem mounting a SMB directory that contains a space from the command line I have tried all of the following (USERNAME, PASSWORD are the correct username and password in my case, XX.XX.XX.XX is the correct ip address, SHARENAME is the correct share name):

mount -t smbfs smb://USERNAME:PASSWORD@XX.XX.XX.XX/SHARENAME/My\ Shapes /tmp/share
mount -t smbfs smb://USERNAME:PASSWORD@XX.XX.XX.XX/SHARENAME/My\040Shapes /tmp/share

directories with no spaced work perfectly e.g. with above command this works perfectly:

mount -t smbfs smb://USERNAME:PASSWORD@XX.XX.XX.XX/SHARENAME/MyShapes /tmp/share
0
Comment
Question by:Javier_Arroyo
2 Comments
 
LVL 53

Expert Comment

by:strung
ID: 40334385
I think you need to put the share name in quotes if it includes spaces:

http://support.microsoft.com/kb/92781
0
 
LVL 9

Accepted Solution

by:
Lieven Embrechts earned 500 total points
ID: 40334400
In place of any space in the share name, type: %20
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In certain circumstances, a Microsoft Office mac application may fail to save a document to a network server, with the following error message: "There has been a network or file permission error. The network connection may be lost." An article at…
Connectivity using SMB Symptoms When connecting to Windows Server shares from a Mac you receive an error similar to "Connection failed because the original item could not be found"Authentication persistently fails to a Windows Server from a Mac wi…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question