remove folder that stats with a "special" character
This might be a retarded question but it just happend to me and honestly cannot figure it out. 10 to 1 is exremely simple but well...
I created by mistake a folder that starts with a dash (-) and I cannot delete it. I tried rmdir (since it is empty) with a \ to escape the - and nothing I tried to move it but every time it reads the folder as a flag and I cannot get rid of it.
Is not a big thing but is driveing me bananas, I'm not even sure how I did it since I tried to reproduce it.
Thanks a lot.
|