[rsync] include-from with different source points

GravyFace gravyface at gmail.com
Mon Jun 29 14:36:13 GMT 2009


On Mon, Jun 29, 2009 at 9:56 AM, Paul Slootman<paul+rsync at wurtel.net> wrote:

> The point you need to see is that everything is included by default, so
> specifying only include rules won't change anything. You also need to
> exclude the rest. The FILTER RULES section explains it pretty well,
> although you may need to get your head around how it works by
> experimenting (use -n not to actually transfer anything then).
>
> What you want to do might be easier to do as follows (not tested, I've
> never tried it myself :-):
>
> rsync --progress -avz --relative /home/gravyface/www/ /mnt/datadisk1/music/ /mnt/datadisk2/projects/ /mnt/usbbackup/localbackup/
>

Thanks Paul. I read that "include-from" description several times and
it just didn't click.  I'll play around and see how it pans out.


More information about the rsync mailing list