ter-translations.sh 523 Bytes
Newer Older
1 2 3 4 5
#!/bin/bash

# Synchronize translation packages from pootle server to local TER
# Steffen Gebert, July 2012

6
BASE_PATH=/home/extensions/ci/shared/html/fileadmin/ter
7

8
rsync -rc --exclude ".htaccess" --exclude ".solr/" --exclude ".tmp/" -e "ssh -i $HOME/.ssh/id_rsa-translation.typo3.org"  extensionstypo3org-sync@translation.typo3.org:/var/www/translation.typo3.org/public/l10n_ter/ $BASE_PATH
9 10
find $BASE_PATH -type d -print0|/usr/bin/xargs -0 /bin/chmod 775
find $BASE_PATH -type f -print0|/usr/bin/xargs -0 /bin/chmod 664