Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I tried to create folder /parent/child by sending a FTP command but I made a mistake to write \parent\child

So on that Unix, it created file named \parent\child instead of child under /parent folder.

As soon as find it out, I've used many ways to delete that folder but nothing works :(

Please give me any suggest so I could try to delete it again.

Thanks!

share|improve this question

migrated from stackoverflow.com Apr 28 '12 at 5:28

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer

up vote 2 down vote accepted

Then type

rm \\parent\\child

and it should remove it, eg escape the character you need treated as litteral.

share|improve this answer
    
Thanks! I just find out can delete by quote it as well! Stupid me, don't try it :) –  H3S Apr 27 '12 at 10:36
    
Ive seen plenty of files called "?" or "cd \" etc –  BugFinder Apr 27 '12 at 10:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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