Whatever happened to good ol' fashioned " marks?

mkdir "name with spaces"

IWD

-----Original Message-----
From: Lawrence Sweeney [mailto:[EMAIL PROTECTED]] 
Sent: 18 July 2001 15:54
To: [EMAIL PROTECTED]
Subject: Re: [scottish] Spaces....the final frontier


On 2001.07.18 15:42 Colin McKinnon wrote:
> This is a little vague.....but am'nt I always?
> 
> Linux, and unices in general have lots of lovely tools for playing 
> with
> files. Unfortunately most of them fall apart when faced with a 
> filename/path which has spaces in it.  Has anybody out there addressed
this 
> problem? Any ideas? tools? code?

backslash escaping works for me.
Usually you just need to say something like

mkdir name\ with\ spaces

Tab expansion should work as expected.
If you get stuck at a space with tab expansion, just use the backslash.

try it.

It's easier to do than to explain. :-)

cheers

Lawrence

--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

________________________________________________________________________
Scottish Enterprise Network
http://www.scottish-enterprise.com

This message is sent in confidence for the addressee only.
It may contain legally privileged information. The contents are not to
be disclosed to anyone other than the addressee. Unauthorised recipients
are requested to preserve this confidentiality and to advise the sender
immediately of any error in transmission.


--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

Reply via email to