Robert P. Goldman wrote: > > > Can anyone explain how I might go about finding all the things on an > RPM-based system that did NOT come from RPMs? I.e., I'd like to be > able to wipe out an install and then make a new one without forgetting > some key thing I liked.... > > Executables would be better than nothing, but if I could find fonts, > etc., as well, that would be just awesome... > > I know I should be a better sysadmin and keep track of these things > better than I do, but there you are.... > > Thanks! > r Try something like (in ksh, because I can, okay?): for i in /bin /usr/bin /lib /usr/lib /etc /sbin /usr/sbin do find $i -type f -print | while read FN do if rpm -qf $FN >/dev/null 2>&1 then echo "$FN: okay" > /dev/null else /bin/ls -lad "$FN" fi done done Oh yeah... it'll be kinda slow, too. -S _______________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota http://www.mn-linux.org tclug-list at mn-linux.org https://mailman.real-time.com/mailman/listinfo/tclug-list