Re: Comparing HD to dpkg
>>>>> "Philippe" == Philippe Troin <email@example.com> writes:
Philippe> $ find / | sort > /tmp/on-disk $ cat
Philippe> /var/lib/dpkg/info/*.list | sort > /tmp/dpkg $ diff
Philippe> Or a zsh one-liner: $ diff <(find / | sort) <(cat
Philippe> /var/lib/dpkg/info/*.list | sort)
I just ran that command with BASH; it works just fine. The process
substitution notation is the same. Better still, do:
$ (diff <(find / | sort) <(cat /var/lib/dpkg/info/*.list | sort) | tee
/tmp/hd-dpkg.diff) | less
... so the output gets saved. It takes a long time to run the find on
large hard drives!
Karl M. Hegbloom <firstname.lastname@example.org>
Portland, OR USA
Debian GNU 1.2 Linux 2.0.30t
You tell me and we'll both know.
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .