echo " "
echo "Sending: $1/$i"
echo "To: $2/$i"
- rsync -avz --delete --progress $1/$i/ $2/$i/
+ rsync -avz --delete --progress $1/$i/$i/ $2/$i/$i/
rsync -avz --delete --progress $1/$i/$i.pdf $2/$i/
done
}
dest=bacula:/var/www/bacula/5.2.x-manuals/${lang}
echo "Sending to $dest"
sendit $src $dest
-
-dest=bsweb:/var/www/docs/5.2.x-manuals/${lang}
-echo "Sending to $dest"
-sendit $src $dest
-
-destdir=/home/frs/repo/htmldocs/${lang}/${ver}
-dest=bsweb:${destdir}
-ssh bsweb <<EOF
-mkdir -p ${destdir}
-EOF
-echo "Sending to $dest"
-sendit $src $dest