Re: [Lug-Nuts] comparing directories

From: William Kendrick (nbs@sonic.net)
Date: Sun Sep 26 1999 - 12:54:01 PDT


> Does anyone have a script or command for comparing files within
> a directory tree? Say I have two machines, and I want to see the
> differences between the
>
> /usr/local/bin

On machine #1:

  ls -l /usr/local/bin > ~/box1.list

On machine #2:

  ls -l /usr/local/bin > ~/box2.list

Then FTP one file to the other machine (so they're both on one box) and
then:

  diff box1.list box2.list

Or such... check man pages of course ;)

-bill!



This archive was generated by hypermail 2b29 : Fri Feb 11 2000 - 16:20:20 PST