Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!sdsu!crash!scotto From: scotto@crash.cts.com (Scott O'Connell) Newsgroups: comp.unix.xenix Subject: Re: corrupted files Message-ID: <897@crash.cts.com> Date: 15 Dec 89 00:59:27 GMT References: <840@stsim.ocs.com> Reply-To: scotto@crash.cts.com (Scott O'Connell) Organization: Crash TimeSharing, El Cajon, CA Lines: 20 In article <840@stsim.ocs.com> glenn@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 -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@nosc.mil INET: scotto@ipars.cts.com