"Ronald F. Guilmette" <r...@tristatelogic.com> wrote: > P.S. I really do hope that I can get this to work with rsync. > I do prefer not reinventing the wheel, but it is starting to seem > simpler to me if I were to just write a Perl script that would > walk two directory hierarchies, in parallel, and just repeatedly > invoke the cmp command on all of the regular files found therein.
Just because rsync is an awesome hammer, it does not necessarily follow that every problem involving backups closely resembles a nail :) Since your source and backup are both local, I suspect using rsync as a comparison tool is overkill. (It may even be overkill for making the backups in the first place.) Had you considered "diff -q -r"? $ mkdir one two $ echo hello > one/hello $ ln one/hello two/hello $ echo different0 > one/foo $ echo different1 > two/foo $ diff -q -r one two Files one/foo and two/foo differ or, if you prefer $ diff -q -r -s one two Files one/foo and two/foo differ Files one/hello and two/hello are identical (I'm using gnu diff; other variants might have different command options.) -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html