cksum entire dir??

Jonathan McKeown j.mckeown at
Wed Sep 12 07:13:02 UTC 2012

On Wednesday 12 September 2012 08:31:45 Matthew Seaman wrote:
> On 12/09/2012 00:14, Polytropon wrote:
> > 	% cksum <directory>
> That will give you a checksum on the directory inode -- file names and
> associated metadata only, not file content.
> 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?


More information about the freebsd-questions mailing list