>>>>> "Philippe" == Philippe Troin <[EMAIL PROTECTED]> writes:
Philippe> $ find / | sort > /tmp/on-disk $ cat
Philippe> /var/lib/dpkg/info/*.list | sort > /tmp/dpkg $ diff
Philippe> /tmp/{on-disk,dpkg}
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 <[EMAIL PROTECTED]>
http://www.inetarena.com/~karlheg
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
[EMAIL PROTECTED] .
Trouble? e-mail to [EMAIL PROTECTED] .