View Single Post
  #3   (View Single Post)  
Old 1st April 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

You cannot delete this because the file name includes shell special characters, such as "(" and ")".

You should be able to delete by tab completion, if the shell you are using has the feature (and the default ksh should have it), or escape them manually with a backslash "\" character, or by surrounding the filename with quote characters (").

Have you tried just using tab completion? e.g.:
$ rm -rf Pink {press your tab key after typing the first part of the directory name}
Some special names, such as those that begin with a special character like "+" can also be deleted by leading the filename with the directory. For example, to delete a file called +CONTENTS in the current directory, you can do so by issuing:
$ rm ./+CONTENTS
So in this case, you might try:
$ rm -rf ./Pink {tab completion}
Reply With Quote