[Tfug] Deleting file with invalid charcter

George Cohn gwcohn at simplybits.net
Thu Jul 5 07:12:06 MST 2007


Jon wrote:

> 
> Try placing an backslash \ in front of the '
> 
> Also, if you're running bash if you type in 'dreamin' then hit tab it'll 
> autocomplete and escape the ' for you.
> 

Finally got it deleted.

The file was called california dreamin'.mp3

There was a space in it as well so I had to rm california\ dreamin\'.mp3

Bloody Windows!  I ftp'd the file from a windows box and it apparently 
added the invalid characters.

Thanks for the tip.

George Cohn




More information about the tfug mailing list