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

Re: Handling filenames with spaces.



> >  As the title says, how do I deal with filenames that contain a space?

practically any shell will allow

rm 'a space'
or
rm "a space"

note that backticks (`) do something different:

rm `echo hello`

runs the command between the backticks (echo hello), grabs any output
produced (hello) and inserts it into the orignal command between the
backticks. So the command becomes

rm hello

---------------------------------------------------------------------
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.