[Tfug] Deleting file with invalid charcter

Bexley Hall bexley401 at yahoo.com
Fri Jul 6 14:29:36 MST 2007


--- George Cohn <gwcohn at simplybits.net> wrote:

> This is probably a stupid newbie question but I'll
> ask it anyway.
> 
> I have a couple of music files on one of my Debian
> boxes that have a 
> apostrophe in the name, IE: dreamin'.mp3  I want to
> delete or rename the 
> file but rm, or mv gives me the > prompt.
> 
> I've read the man pages for rm and mv and couldn't
> find the answer.

Bracket the file name with double quotes.  E.g.,

rm "A crappy name for a file.foo"


       
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/




More information about the tfug mailing list