Displaying 1 result from an estimated 1 matches for "wwwlist".
Did you mean:
kw_list
2002 Jan 31
1
Files getting excluded.. don't understand why?
...ugging rsync, so I have it running in verbose mode on some
test directories. The full script is below:
#!/bin/sh
PATH=/bin:/usr/bin:/usr/local/bin
LOCKFILE=/home/dpuryear/sync_www.lock
LASTRUN=/home/dpuryear/sync_www.lastrun
TOCOPY=/home/dpuryear/tocopy
DIRLIST="/home/dpuryear/testdir"
WWWLIST=localhost
if [ -f $LOCKFILE ]; then
exit
else
touch $LOCKFILE
fi
# create copy list
rm -f $TOCOPY
for dir in $DIRLIST; do
cd $dir
# find files newer than $LASTRUN
if [ -f $LASTRUN ]; then
find ./ \! -regex '\./logs.*' -cnewer...