Ops, I've found the answer... "if the pattern starts with "+" then it is
always considered an include pattern, even if specified as part of an
exclude option.
outfilelist
+ tmp
Sorry I bug you.
Thanks,
Magda
> -----Original Message-----
> From: Magdalena Hewryk [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 3:11 PM
> To: [EMAIL PROTECTED]
> Subject: --include vs --exclude-form
>
>
> Hi,
>
> I'm trying to exclude ../tmp ../new ../.precious and other
> directories
> from mirroring but I need ../tmp/content.html and
> ../tmp/index.html to be
> updated regardless of the excluding list on the receiving host.
>
> The exclude filelist works but it blocks all the files and
> ../tmp/content.html and ../tmp/index.html are not copied from
> the excluding
> directories even if I added them to the --include-from file
> or to --include
> option.
>
> Syntax:
> /usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync --rsh
> "/usr/bin/rsh"
> -av --backup --suffix=_prom+ --exclude-from=/export/app/outfilelist/
> --exclude "alpha.html" --include-from=/export/app/infilelist
> /export/app/docs host2:/app/mirror > /tmp/rsync_list1.log
>
>
> How can I force to copy over ../tmp/content.html and
> ../tmp/index.html files
> even if they exist in the excluding directories?
>
> Any hints?
> Thanks,
> Magda
>