On Sat, 19 Apr 1997 14:35:15 MDT Jason Ish ([EMAIL PROTECTED]) wrote: > This may be possible but I'm still getting a grasp on all the unix = > utils. I would like dpkg to make a master list of everyfile that it has = > installed, then have linux make a list of every file on the system = > (excluding /usr/local and /home) and then matching the 2 lists and give = > me the output of files that are not in both lists so I can check them = > out and clean my system of wasted disk space.
$ find / | sort > /tmp/on-disk $ cat /var/lib/dpkg/info/*.list | sort > /tmp/dpkg $ diff /tmp/{on-disk,dpkg} Or a zsh one-liner: $ diff <(find / | sort) <(cat /var/lib/dpkg/info/*.list | sort) Phil. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .