On Monday 29 Aug 2005 04:20, YankDownUnder wrote: > On Mon, 29 Aug 2005 13:03, magnet tapped out: > > Hi, managed to download some rogue files by mistake using p2p and now I > > cannot delete them. No matter what I do they appear listed as present in > > konqueror or konsole window. > > > > Files all start with ":123 filename.gif". > > > > I have tried rm and shred but the shell complains it cannot lstat the > > file and "No such file or directory" > > ls -a returns a list of these 3 files in the directory. > > > > Can anyone help me delete these files please? > > > > regards > > magnet > > Here's something you can do. Firstly, open a terminal (konsole, > gnome-terminal, xterm - whatever) and just "su", enter the root password. > Now, in the case of the ":123 filename.gif" you can do this typed exactly: > > rm ":123 filename.gif" > > THAT should resolve that issue for you. Then, afterwards, when you have > strange file names like that, you just need to remember to put the " " > around the name of the file and you should be good to go.
I had tried all the most obvious solutions everyone suggested on here before posting. I do own the files. I have tried as user and as root to delete. The files could not be renamed. Using quotes made no difference. I checked the files over the LAN from a windows box and they were listed as "x_filename.gif" and could be deleted as usual. Thought I'd better let the list know for archive purposes as everything else I tried under Linux didn't get a result. Very strange, but resolved now. Thanks for your help regards magnet
____________________________________________________ Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com Join the Club : http://www.mandrivaclub.com ____________________________________________________
