Date: Wed, 12 Sep 2012 13:29:45 -0700 From: Gary Kline <kline@thought.org> To: Jonathan McKeown <j.mckeown@ru.ac.za> Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? Message-ID: <20120912202945.GC17551@ethic.thought.org> In-Reply-To: <201209120912.58165.j.mckeown@ru.ac.za> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <201209120912.58165.j.mckeown@ru.ac.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 12, 2012 at 09:12:58AM +0200, Jonathan McKeown wrote: > On Wednesday 12 September 2012 08:31:45 Matthew Seaman wrote: > > On 12/09/2012 00:14, Polytropon wrote: > > > % cksum <directory> > [snip] > > > > That will give you a checksum on the directory inode -- file names and > > associated metadata only, not file content. > [snip] > > Generally I find the best test for differences between old and new > > copies of a filesystem is 'rsync -avx -n ...' > > Wouldn't suitable applications of mtree(8) also do what's wanted? > > Jonathan > _______________________________________________ how, with mtree, could I tell whether dir1 == dir2 or not? gary > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120912202945.GC17551>