#!/bin/bash svn co --non-recursive http://svn.orange35.com/$1 if [ -d "$1" ] ; then cd $1 for dir in $(svn ls http://svn.orange35.com/$1 | grep -v 'project-db' | grep -v 'project-files') ; do svn up $dir done fi