exclude-from problem

Dave Dykstra dwd at bell-labs.com
Fri May 3 14:47:01 EST 2002


On Wed, Apr 17, 2002 at 06:13:41PM +0200, funrighd at netcourrier.com wrote:
> Hi, I'm trying to exclude a directory (mag/html/)but not *.xsl files that
> are within this directory and its sub-directories.
> Here is my exclude file :
> + mag/html/*.xsl
> mag/html/
> 
> The *.xsl files are never transferred. Does anyone have an idea about
> this problem ?

Once you tell rsync to exclude a directory, it never recurses down into it.
Change that second line to 
    mag/html/*

- Dave Dykstra




More information about the rsync mailing list