include and exclude file

Matt McCutchen hashproduct at
Sat Apr 15 01:53:38 GMT 2006

On Fri, 2006-04-14 at 21:38 -0400, Marc Collin wrote:
> OPTS="-a -r -v -p -t --delete-before --exclude-from=$EXCLUDE 
> --include-from=$INCLUDE"
> rsync don't copy my kde folder....

Earlier filters override later filters.  Since you specify the exclude
file before the include file, the exclude pattern .* is overriding the
include pattern .kde .  Specify the include file first.

Matt McCutchen
hashproduct at

More information about the rsync mailing list