Mounting folders with spaces in their names

Jeremy C. Reed reed at wcug.wwu.edu
Sat Mar 3 07:57:52 GMT 2001


On Sat, 3 Mar 2001, Mike Loiterman wrote:

> I still have not been able to mount a folder called New Stuff in
> smbfs.  I have tried:
> 
> mount -t smbfs -o username=tridge,password=foobar //MP3/New Stuff

The mount command is seeing '//MP3/New' and 'Stuff' as two different
arguments.

Try using a backslash "\" to cause the space to be treated literally.
Or put the fullname within quotes (single or double). This should be
covered in your shell's man page (search for "escape" and/or "literal").

  Jeremy C. Reed
.......................................................
     ISP-FAQ.com -- find answers to your questions
     http://www.isp-faq.com/





More information about the samba mailing list