need help for SCO Xenix Sys V 286. ver 2.1.3
bill vermillion
bill at bilver.UUCP
Mon May 1 01:50:58 AEST 1989
In article <23770 at agate.BERKELEY.EDU> ked at garnet.berkeley.edu (Earl H. Kinmonth) writes:
>In article <1689 at wasatch.utah.edu> ch-tkr at 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 at bilver.UUCP
More information about the Comp.unix.xenix
mailing list