Hey everybody, very funny but I can not remove folder in Unix under root. problem is I run a php script which created folder with backsplash like worldwide\r , and when I am trying to remove with rm worldwide\r it just says that folder can not be found. NEED YOUR HELP.
Have you tried rm worldwide* or still you can go ahead and run the same php script with unlink command in that.
another idea, connect to your server vis ssh which comes with most of the linux distributions, which you can ssh with window managers like konqueror or nautilus. Then right click and delete.
Hey sahabcse rm -rf worldwide* works, but I have another category named \r I am afraid to run rm -rf * could delete everything , any other Ideas ? to tuxicy: I dont think I have any of those installed on my sys
You dont have to install anything. Just download a small linux distro like Slax (150 mb or smt), burn to cd as an image file, restart your machine. Use it live, then restart again to your old windows...
Hey tuxicy, thank you for your help, but its not local machine, its dedicated server, so every move is very hard and there is no old windows
If you have ssh access Change the user info of the directory chown chkgrp use those commands and change it to root
Use double quotes.I tried this now my machine now. it works for me # mkdir "\r" #ls | grep r Maildir \r scripts src #file "\r" \r: directory #rm rf "\r" Code (markup):
press TAB in the console to get auto completion. Generally that character needs to be escaped. Unfortunately i'm more of a windows kind of guy and don't know exactly how the escaped file name is, but auto complete will always get it right. Either that or install midnight commander and delete from there. I recommend this one since it will make editing files a lot easier.