Exclude not working
Wayne Davison
wayned at samba.org
Thu Jul 12 14:14:04 GMT 2007
On Thu, Jul 12, 2007 at 05:18:28PM +0530, Madhavan Chari wrote:
> SOURCE1=/opt/mscdr/arb821/Server
> E1=/opt/mscdr/arb821/Server/transmissionData
As Matt mentioned, the exclude needs to not include any part of the path
that is outside of the transfer. The simple rule is that your excludes
should be matching the names you see in rsync's verbose output (just
prepend a slash if you want to anchor them). In this case that would be
trimming off everything prior to "/Server":
E1=/Server/transmissionData
etc.
..wayne..
More information about the rsync
mailing list