anchoring of patterns for per-directory merge files
Matt McCutchen
matt at mattmccutchen.net
Thu Nov 12 10:12:57 MST 2009
On Wed, 2009-11-11 at 17:14 +0000, Andy Smith wrote:
> I'm extremely confused about anchoring of patterns for per-directory
> merge files, as what I see seems to not be the behaviour the
> documentation suggests.
>
> On the receiver side I have rsync version 3.0.3 protocol version
> 30. On the sender I have rsync version 2.6.9 protocol version 29.
> I'm calling:
>
> rsync --filter='dir-merge /.rsync-filter' -avz --delete \
> --numeric-ids --relative --delete-excluded --sparse --hard-links \
> --rsh='/usr/bin/ssh -4 -i /root/.ssh/rsync -q' \
> root at corona:/data \
> /data/backup/.sync/corona/
>
> On the sender, I have in the file "/data/home/andy/.rsync-filter":
>
> - /tmp/
>
> The documentation leads me to believe that this should exclude a
> directory called "tmp/" located only in the same directory as the
> merge file. What happens is, nothing gets excluded.
This case works just fine for me with rsync 3.0.6 on both sides. Please
upgrade.
--
Matt
More information about the rsync
mailing list