Re: Unable to del an OS file with special char - need ideas

  • From: "Tony Adolph" <tony.adolph.dba@xxxxxxxxx>
  • To: yong321@xxxxxxxxx
  • Date: Tue, 15 Jul 2008 08:48:10 +1200

If there aren't too many other files in your directory, you can use rm -i *
and and type "n" for each file you don't want to delete and,... yes you've
guessed it,.. "y" for the dodgy file!  The "--" is the better option IMHO,
but just wanted to add something else.... this is handy when you have blank
file names (as mentioned in an earlier post)

Cheers
Tony

Other related posts: