corrupted files
Scott O'Connell
scotto at crash.cts.com
Fri Dec 15 11:59:27 AEST 1989
In article <840 at stsim.ocs.com> glenn at stsim (glenn ford) writes:
>I am running SCO386 2.3.1, and have a problem. There are several (15-20)
>corrupted files in my root directory that I can't seem to delete. I have
>tried 'rm -i *', but when I come across the corrupted file it just says
>non-existent, and goes onto the next file. Is there a way to delete these
>files?? In prvious problems such as this I would do rm -r, but I can do
>it this time since the bad files are in the ROOT directory. Any help
>would be greatly appreciated, thank you.
>
I use find . -print -ok rm {} \; -OR-
ls -i <find the inode number>
find -inum <#> -exec rm {} \;
Both of these work for me.
--
Scott O'Connell UUCP: {nosc, ucsd, hplabs!hp-sdd}!crash!ipars!scotto
ARPA: crash!ipars!scotto at nosc.mil
INET: scotto at ipars.cts.com
More information about the Comp.unix.xenix
mailing list