-bsysmanual/external-references.tex
-covers/pdf/*.pdf
-images/eps
-images/pdf
-images/png
-manuals/en/www-console/
-manuals/en/www-developers/
-manuals/en/www-main/
-manuals/en/www-misc/
-manuals/en/www-problems/
-manuals/en/www-utility/
-manuals/en/images/*.png
-tools/
-*.maf
-*.mtc*
-manuals/en/old/*/version.tex
-manuals/en/old/*/bacula.sty
-manuals/en/old/*/update_version
-autom4te.cache
-kernsconfig
-*~
-*.~
-*.lof
-*.lot
-manuals/de/*/*.eps
-manuals/es/*/*.eps
-manuals/*/install/install
-manuals/*/catalog/*.pdf
-manuals/*/*.pdf
-manuals/update_version
-manuals/bacula.sty
-manuals/version.tex
-manuals/*/*.pdf
-manuals/*/concepts/concepts
-manuals/*/console/console
-manuals/*/developers/developers
-manuals/*/catalog/catalog
-manuals/*/*/version.tex
-manuals/*/*/bacula.sty
-manuals/*/*/update_version
-manuals/en/console/coverpage.tex
-manuals/en/console/index.html
-manuals/en/console/upload
-manuals/en/developers/index.html
-manuals/en/developers/upload
-manuals/en/main/index.html
-manuals/en/main/upload
-manuals/en/misc/index.html
-manuals/en/misc/upload
-manuals/en/problems/coverpage.tex
-manuals/en/problems/index.html
-manuals/en/problems/upload
-manuals/en/utility/coverpage.tex
-manuals/en/utility/index.html
-manuals/en/utility/upload
-upload
-version.tex
-images/bs_logo.png
-images/bs_logo.eps
Makefile
-autoconf/Make.common
-bacula-web/Makefile
-bacula-web/version.tex
-config.log
-config.out
-config.status
-manuals/bacula.sty
-manuals/en/*/*.eps
-*.aux
-*.cdx
-*.cnd
-*.ddx
-*.dnd
+*/Makefile
+*.sty
*.dvi
-*.fdx
-*.fnd
*.idx
-*.ilg
-*.ind
-*.log
-*.out
-*.sdx
-*.snd
+*.maf
*.toc
-manuals/en/*.sty
-manuals/*/install/installi-*.tex
-manuals/*/catalog/catalogi-*.tex
-manuals/*/concepts/concepts.pdf
-manuals/*/concepts/conceptsi-*.tex
+*.mtc*
+*/version.tex
+manuals/en/*/version.tex
+manuals/*/*/version.tex
+manuals/*/utility/utilityi*
+manuals/*/misc/misci*
+images/pdf
+images/png
+images/svg
+images/eps
+covers
+manuals/*/console/consolei*
+manuals/*/developers/developersi*
+manuals/*/main/maini*
+manuals/*/www-*
+tools/wholemenu_*
+config.*
+autoconf/Make.common
+autom4te.cache
manuals/*/console/console.pdf
-manuals/*/console/consolei-*.tex
-manuals/*/developers/developersi-*.tex
+manuals/*/console/console/
manuals/*/developers/developers.pdf
-manuals/*/misc/misci-*.tex
-manuals/*/misc/misc.pdf
-manuals/*/misc/misc/
-manuals/*/main/maini-*.tex
+manuals/*/developers/developers/
manuals/*/main/main.pdf
manuals/*/main/main/
-manuals/*/install/install.pdf
+manuals/*/misc/misc.pdf
+manuals/*/misc/misc/
manuals/*/problems/problems.pdf
manuals/*/problems/problems/
manuals/*/utility/utility.pdf
manuals/*/utility/utility/
-manuals/*/utility/utilityi-*.tex
+version.tex
+bsysmanual
+manuals/en/images
--- /dev/null
+#!/bin/sh
+if [ $# != 1 ] ; then
+ echo "First argument must be language, e.g.: send en|es|de|fr"
+ echo " "
+ exit 1
+fi
+cwd=`pwd`
+lang=$1
+src=$cwd/manuals/${lang}
+ver=5.2.12
+repo=release
+
+echo "ver=${ver}"
+
+# sendit src dest
+sendit()
+{
+ for i in console developers main misc problems utility; do
+ echo " "
+ echo "Sending: $1/$i"
+ echo "To: $2/$i"
+ rsync -avz --delete --progress $1/$i/ $2/$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