Solved

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

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Deploystudio is a system which can be used to deploy OSX clients and servers within the small/medium or large business environments. The system is built onto of the OSX Server NetBoot system and uses images & workflows as its core assets. While work…
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
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, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

707 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

19 Experts available now in Live!

Get 1:1 Help Now