cksum entire dir??

Gary Kline kline at thought.org
Wed Sep 12 20:36:27 UTC 2012


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list