Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2012 15:15:50 -0400 (EDT)
From:      vogelke+freebsd@pobox.com (Karl Vogel)
To:        freebsd-questions@freebsd.org
Subject:   Re: cksum entire dir??
Message-ID:  <20120914191550.F37D3BEA8@kev.msw.wpafb.af.mil>
In-Reply-To: <20120914033522.GA95427@neutralgood.org> (kpneal@pobox.com)
References:  <CAFuo_fyaToC_0NcvD6jobOK3qWm2D8CXzUn6Drxzr_tEkEL6dQ@mail.gmail.com> <20120913191844.1C07FBEA7@kev.msw.wpafb.af.mil> <20120914033522.GA95427@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>> On Thu, 13 Sep 2012 23:35:22 -0400, kpneal@pobox.com said:

K> But in both your and my code the uniq will frequently fail because the
K> input is not sorted.

   No, check the first command:

     me% find . -type f -print0 | xargs -0 md5 -r | sort >> /tmp/sig1
                                                    ^^^^

-- 
Karl Vogel                      I don't speak for the USAF or my company

When I'm feeling down, I like to whistle.  It makes the neighbor's dog
run to the end of his chain and gag himself.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120914191550.F37D3BEA8>