Displaying 1 result from an estimated 1 matches for "sync_www".
Did you mean:
sync_wmb
2002 Jan 31
1
Files getting excluded.. don't understand why?
...is
the command I am using:
rsync -vvv -e ssh -r --include-from=$TOCOPY localhost:/home/dpuryear/testdir2
Notice I'm debugging 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
# fin...