modified include-from file not taken into account.

jw schultz jw at pegasys.ws
Thu Sep 18 23:09:52 EST 2003


On Thu, Sep 18, 2003 at 01:44:09PM +0100, Loris Serena wrote:
[redacted for brevity]
> Using rsync 2.5.6 on Solaris 7/8 boxes:
> 
[snip]
>    ${LPATH}/rsync -azvv -e ${LPATH}/ssh --stats 
> --include-from=/opt/pictures/rsync-include /usr/local/apache/htdocs/ 
> ppukweb${i}:/usr/local/ap
> ache/htdocs/ > /opt/pictures/webrsynclogs/ppukweb${i}.`date 
> +%m.%d.%H.%M` 2>&1
> 
> done
> $
> 
> with the following /opt/pictures/rsync-include file:
> 
> $ more rsync-include
> + /images/
> + /newimages/
> + /help/
> + /popup/
> + /email/
> + /pp_ntl/
> + /ppbanners/
> - /*
> $
> 
> Now, I have added a new directory to sync to the rsync-include, which 
> now looks like this:
> 
> $ more rsync-include
> + /images/
> + /newimages/
> + /help/
> + /popup/
> + /email/
> + /pp_ntl/
> + /ppbanners/
> + /iframe/
> - /*
> $
> 
> Now, the new directory doesn't get synched:
> 
> If a look at the logfile, here is what I get:
> 
> $ grep iframe ppukweb1.09.18.13.33
> excluding directory iframe because of pattern /*
> 
> Any idea about what I'm doing wrong?

It looks correct.  Any chance there might be some unnoticed
whitespace such that the line is really "+ /iframe/ "?

-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt



More information about the rsync mailing list