I have a weird folder in my home directory. It's called "..Copied!" This name probably comes from an unfortunate period of time when I had overridden pwd in my bash profile. I learned my lesson and want to get rid of this file now, but it's not accessible, even though it shows up when I search for it using locate.

(It looks likenode.js source files were copied there.)

And I can certainly see it with ls . and then double tabbing.

enter image description here

link|improve this question

50% accept rate
feedback

2 Answers

Isn't

rm -rf '..Copied!'

working (careful, use this quoting, no double quotes)?

link|improve this answer
Not working for me. It fails silently without any error messages. Tellingly, it doesn't autocomplete to that name when I try from rm -rf .. so apparently that command cannot see the folder...but ls . does? Weird. – picardo Sep 11 '11 at 1:55
feedback

Instead of doing rm -rf like Sven suggests, you could use the less dangerous rm -r which will ask you to verify each file that you would delete. This way you don't accidentally clobber something that you didn't mean to.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.