Changes made to main.c on implementing real time Rsync

Wayne Davison
Tue, 09 Nov 2010 21:48:29 -0000

> Example   "rsync  -av  source/l1/l2/l3/abc.txt
dest::Worksheets/l1/l2/l3/"
>

Do this instead:

rsync -avR source/./l1/l2/l3/abc.txt dest::Worksheets/

The use -f -R (--relative) along with the /./ path element to signal how
much of the source path goes into the copy will make rsync create all the
needed dirs on the destination.

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.samba.org/pipermail/rsync/attachments/20101109/34fc64cf/attachment.html>