[ale] rsync comparisons
scott
scott at sboss.net
Thu Apr 1 11:37:21 EDT 2010
rsync compares on a file level BUT it compares timedate stamps/sizes
in "quick mode" (which is default). but if you want it to compare
file to file, use "-c or --checksum" option. Now this puts a heavier
load on both systems, since it does a MD5 checksum on every file that
has the same timedate stamp/size on both sides of the sync. Now if
you want to force the copy of the whole file instead of the changed
blocks, use the --whole-file option with it.
I would use this ( -c & --whole-file) sparingly. It is going to slow
down the copies, put heavier loads on both ends and transfer more data
(control data) back and forth. I dont know your situation so I cant
say to use it or or not.
scott
On Thu, Apr 1, 2010 at 11:00 AM, Robert Coggins <ale at cogginsnet.com> wrote:
> Is there a way to do file level comparisons and not block level
> comparisons using rsync?
>
> Rob
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
More information about the Ale
mailing list