Getting into the source code

Wayne Davison wayned at
Wed Oct 20 09:56:22 MDT 2010

On Wed, Oct 20, 2010 at 6:58 AM, Angus Hammond <angusgh at> wrote:

> Hi everyone,
> I recently downloaded a copy of the rsync source code from the samba
> website. I would like some advice in how I could go about familiarizing
> myself with the code, so that I could read it and edit it. The source tree
> contains loads of files, and I haven't got a clue where to start :).
> What would you recommend as a good place to begin reading would be?
> Can anyone tell me of a good place to read about what each function and
> file does?
> Thanks
> Angus
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> Before posting, read:

I'd recommend reading this simple summary of how rsync works (the link is
also found on the doc page):

You will then find various files named for the parts of rsync (generator.c,
sender.c, receiver.c) plus "main.c", which is a good place to get going.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list