Benjamin Lees wrote:
I think that would have to be cd /var/www/mediawiki && svn update && for dir in `ls /var/www/mediawiki/extensions`;do cd "/var/www/mediawiki/$dir" && svn update;done;
Don't ever use 'ls' to generate a word list for use with 'for', it'll hurt yourself when you least expect. This should be enough:
cd /var/www/mediawiki && svn update && for dir in /var/www/mediawiki/extensions/*/ do cd "$dir" && svn update done