Hello list,
Using rsync 2.5.6 on Solaris 7/8 boxes:
I was happily running this script via crontab:
$ more webrsync.ksh
#!/bin/ksh
# @(#) File synchronization across hosts using rsync
#Description :
#
# Created : 4 September 2003
# Author : Loris Serena
set -x
LPATH=/usr/local/bin
for i in 1 3 4 5 6 7 8
do
${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?
Loris
--
Loris Serena
Unix Systems Administrator
Paddy Power plc
Phone : +353-1-4049633 http://www.paddypowerplc.com
Mobile: +353-87-9683760 mailto:lserena@paddypower.com
________________________________________________________________________
Privileged, confidential and/or copyright information may be contained in this
communication. This e-mail and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they are
addressed. If you are not the intended addressee, you may not copy, forward,
disclose or otherwise use this e-mail or any part of it in any way whatsoever.
To do so is prohibited and may be unlawful. If you have received this email in
error
please notify the sender immediately.
Paddy Power PLC may monitor the content of e-mail sent and received for the
purpose of ensuring compliance with its policies and procedures.
________________________________________________________________________