Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!mtxinu!unisoft!hoptoad!peora!rtmvax!bilver!bill From: bill@bilver.UUCP (bill vermillion) Newsgroups: comp.unix.xenix Subject: Re: need help for SCO Xenix Sys V 286. ver 2.1.3 Keywords: removal of odd files, files have non-ascii chars in name! Message-ID: <529@bilver.UUCP> Date: 30 Apr 89 15:50:58 GMT References: <1689@wasatch.utah.edu> <23770@agate.BERKELEY.EDU> Reply-To: bill@bilver.UUCP (bill vermillion) Organization: W. J. Vermillion, Winter Park, FL Lines: 32 In article <23770@agate.BERKELEY.EDU> ked@garnet.berkeley.edu (Earl H. Kinmonth) writes: >In article <1689@wasatch.utah.edu> ch-tkr@wasatch.utah.edu (Timothy K Reynolds) writes: > >>My Problem: ... But we can't clean ... due to some odd files which still exist >> >>Anybody out there know how to get around this problem? I would really >>appreciate your help with this matter. > >One way is to pipe the output of find into a simple program that unlinks >files as in > >find . -type f -print | zapcrap > .... (program deleted - wjv) Since he is running SCO Xenix, he can use a find parameter which has been around since the first Xenix port from version 7, but has been undocumented (in the manuals I have seen) since Xenix 2. (Or was that Xenix II ?) The parameter is inum. (do a strings on /bin/find and it is there). Go to the offending directory. Do ls -lai . This will show you all the files with their inumber in the first colum. Then it is as simple as find . -inum xxx -print -exec rm {} \; You don't need the print statement, but I like to see what is going on. bill -- Bill Vermillion - UUCP: {uiucuxc,hoptoad,petsd}!peora!rtmvax!bilver!bill : bill@bilver.UUCP