<div class="gmail_quote">On Fri, Jan 1, 2010 at 7:46 AM, Giampaolo Tomassoni <span dir="ltr">&lt;<a href="mailto:Giampaolo@tomassoni.biz">Giampaolo@tomassoni.biz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
&#39;--filter=-!r /srv/vhome/*/users/*/.mail/&#39; user@oldserver:/srv/vhome /srv/<br></blockquote></div><div><br></div>See the manpage discussion of anchoring at the top-level of the transfer for why your filter rule should not have a &quot;/srv&quot; prefix.  The &#39;r&#39; modifier makes the rule only apply on the receiving side, which means you&#39;re specifying a protect rule to prevent removal of files, but does not stop the files from being copied.  The &#39;!&#39; modifier negates the match, which makes it protect everything from deletion except .mail dirs (though, since its anchored wrong, it would seem to protect everything from deletion).<div>
<br></div><div>Perhaps you wanted to specify --filter=&#39;- /vhome/*/users/*/.mail/&#39;  (for both excluding and deleting of that dir)?  If not -- if you&#39;re really trying to copy just hte .mail dirs, you have a lot more things to change.<br clear="all">
<br>..wayne..<br>
</div>