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?
>
Hi
Have you tried quoteing the filename:
prompt> command "/random/path/with a space in it"
or escapeing the spaces:
prompt> command /random/path/with\ a\ space\ in\ it
That should work with almost all commands.
--
Kenny Duffus
Department of Computer Science
University of Strathclyde
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------
- [scottish] Spaces....the final frontier Colin McKinnon
- Re: [scottish] Spaces....the final f... Andrew Crawford
- Re: [scottish] Spaces....the final f... Lawrence Sweeney
- Re: [scottish] Spaces....the final f... Mark Robinson
- Re: [scottish] Spaces....the final f... Lawrence Sweeney
- RE: [scottish] Spaces....the final f... Kenny Duffus
- RE: [scottish] Spaces....the final f... Ian Drake, IT, SE Dunbartonshire
- Re: [scottish] Spaces....the final f... Colin McKinnon
- Re: [scottish] Spaces....the fin... Andrew Crawford
- Re: [scottish] Spaces....the final f... Colin McKinnon
- Re: [scottish] Spaces....the final f... Lawrence Sweeney
- Re: [scottish] Spaces....the final f... Gavin McCord
- Re: [scottish] Spaces....the final f... Paul Millar
- Re: [scottish] Spaces....the final f... Colin McKinnon
- Re: [scottish] Spaces....the fin... Aidan Skinner
- Re: [scottish] Spaces....the fin... Will Partain
