On Mon, 24 Mar 2003 19:40:53 GMT
John Pettigrew
In a previous message, zentara wrote:
On Mon, 24 Mar 2003 17:54:34 GMT John Pettigrew
wrote: I have some files that I cannot delete, even as root.
Can you move them? An easy trick is to move them to a good directory, then recursively delete the directory. mc makes this easy to do.
I'd tried that already, I'm afraid - they mv OK but the files (actually, three sets of files in three directories) won't delete with an rm -r from higher up the tree.
Here's another few ideas before you do a fsck: :-) ################################################# If you have mc installed, move them to somewhere like a directory named /1. Then delete 1 with the F8 button of mc. It has never failed me. mc's F8 is better than rm -r ################################################ #delete files with unprintable chars rm -i .* This will prompt you for each file, and just answer yes. ################################################ #or use the inodes ls -i #and use the resulting inode in find -inum xxx -exec rm {} \; ################################################# -- use Perl; #powerful programmable prestidigitation