cwd=`pwd`
echo $cwd
lang=$1
-for i in catalog concepts console developers install misc problems utility; do \
- cd $cwd/manuals/${lang}/$i; \
- scp -r -P 2020 $i/ bacula.org:/var/www/bacula/3.1.x-manuals/${lang}/$i/; \
- scp -P 2020 $i.pdf bacula.org:/var/www/bacula/3.1.x-manuals/${lang}/$i/; \
+for i in console developers main misc problems utility; do
+ echo "cwd=$cwd i=$i lang=$lang"
+ (cd $cwd/manuals/${lang}/$i; \
+ scp -r -P 2020 $i/ bacula.org:/var/www/bacula/3.1.x-manuals/${lang}/$i/; \
+ scp -P 2020 $i.pdf bacula.org:/var/www/bacula/3.1.x-manuals/${lang}/$i/)
done
-
# rsync --stats -c -r . bacula.org:/var/www/bacula/3.1.x-manuals/en/catalog/catalog