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

Alan Evans ame.fedora at gmail.com
Mon May 10 16:57:07 UTC 2010


On Mon, May 10, 2010 at 9:50 AM, Mark Knoop <mark at opus11.net> wrote:
> At 09:09 on 10 May 2010, Alan Evans wrote:
>> On Mon, May 10, 2010 at 9:07 AM, Jeff Voskamp <javoskam at uwaterloo.ca>
>> wrote:
>> >
>> > Try
>> > cd /media
>> > ls -bl
>> >
>> > and send us the results.
>>
>> Ok:
>>
>> [alan at agena ~]$ cd /media
>> [alan at agena media]$ ls -bl
>> total 4
>> drwx------. 1 alan alan 4096 2010-05-10 08:12 My\ Book
>
> Here is your answer. The directory name is "My\ Book", so you will have
> to use:
>
> cd My\\\ Book
>
> (and you may want to do
>
> mv My\\\ Book My\ Book
>
> )

You seem very confident! Better double-check your assumptions... (I
always find it mildly humorous when people are cocksure while being
totally wrong.)


More information about the users mailing list