#!/bin/bash # Use: ./bin/reevotech/PutPages.sh ecoversities Property if [ $# -eq 0 ] then echo "Missing parameters. Use: ./bin/reevotech/PutPages.sh ecoversities Help" exit fi cd /srv/reevotech DEPLOY=$1 NS=$2 cd /srv/reevotech/www/wiki/maintenance/ php importTextFiles.php --conf ../LocalSettings-$DEPLOY.php -s "Updated using PutPages.sh" --overwrite "../deployments/$DEPLOY/pages/$NS/*"