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

Reply via email to