Solved

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

Posted on 2014-09-20
2
409 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

If you other experts are anything like me you are always looking into and testing out new features. While I was doing some research one day I ran across an app that I installed on my Mac and used as a security system. Mac OS X: SecureHome uses your …
The error "There was an error performing the update" occurred on a Mac OS X client workstation running  Symantec AntiVirus for Mac (http://www.symantec.com/business/products/purchasing.jsp?pcid=pcat_security&pvid=825_1) - the Enterprise product vers…
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 …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now