What's up with bash shell and spaces in filenames?

Alan Evans ame.fedora at gmail.com
Mon May 10 15:56:10 UTC 2010


On Mon, May 10, 2010 at 8:42 AM, Michael Hannon <jm_hannon at yahoo.com> wrote:
> Hi, Alan.  Are you sure that the spaces are causing the error?  I.e., if the directory were actually named:
>
>    Media My Book
>
> you'd get the behavior you describe.  I don't usually use spaces in file names, but I've never had a problem dealing with spaces (e.g., when I've gotten files with spaces in the names from other people).

It's a HP My Book removable hard drive that was auto-mounted in /media
when I plugged in the USB cable. I don't use spaces either when I have
a choice, but the file or directory name is not always my decision.


More information about the users mailing list