#! /bin/bash set -e [ "$1" ] && cd $1 set +e find -type d -perm -0755 | fgrep -v .svn | sort | xargs -n 1 validate-directory