On 9/11/2012 7:48 PM, Polytropon wrote:
>
>       I think I tried something like your second example last night.
>       I think I did
>
>       % cksum foodir/*
> That lets the shell expand * to the content of foodir, making
> a final command line like "cksum foodir/file1 foodir/file2"
> and so on. If you omit the /* part, the directory will be
> checksummed entirely. If you then remove a file or change
> it, a different checksum will be printed. At least that is
> my interpretation of what I've tested.


I think that command checksums the *directory block*, not the same
as a combined checksum of all the files, and probably not useful for
verifying if all files have been copied/moved correctly to a
different directory.


> The Midnight Commander has a function to compare directories
> which will also identify _which_ files have changed (unlike

Yes, much more promising.



  -- Noel Jones
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to