[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Finding all files on a system not in an RPM



On Wed, Sep 17, 2003 at 08:49:32AM -0700, JT wrote:
> So,  I'll ask a) for a search tool to be added to the RPM-list archives at 
> some point (please :) and b) for any useful ways people have of creating a 
> list of all files on a system which are not part of any RPM on the system.

LC_ALL=C bash2 -c "comm -23 <(find / | sort -u) <(rpm -qal | sort -u)"

Note that this does handle filenames with embedded newlines correctly.

Regards,

	Bill Rugolsly




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]