[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handling filenames with spaces.



On Tue, 14 Mar 2000, Al Hudson wrote:

> On Tue, 14 Mar 2000, Barrie Bremner wrote:
> 
> >  As the title says, how do I deal with filenames that contain a space?

I'm surprised nobody mentioned is already, but the easiest way to use
spaced filenames is to escape it with '\'.  ie:

	"/mnt/win/Program Files/"

becomes

	/mnt/win/Program\ Files/

You should see that if you get ls to show you the directory's name.

Bob

--
Bob Ham:  bob [at] timecity.org   http://flux.mentaltempt.org/~node/
IRC: 'node' on SlashNET (devnull.slashnet.org:6667): #Slashdot #TimeCity
ICQ: 4396425 'The Tek' & 27699423 'The Tek.'

Time City Level Designer
Time City: http://www.timecity.org/
My work: http://flux.mentaltempt.org/~node/tc/

This email is Copyright (C) 2000 Robert Ham.  Copyright is protected in law
in the UK and by treaty in other countries. Permission to reproduce is
strictly forbidden.  If you wish to reproduce this email's content, please
apply by email to bob [at] timecity.org.

---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.