+ if [ -z $excludeddirs ]
+ then
+ find $backupdirs -type $type -printf "$findformat"
+ else
+ regex=`echo $excludedirs | sed -e 's/ /.*\\\\|/g'`
+ regex=`echo "'\($regex.*\)'"`
+ find $backupdirs -type $type -o -regex $regex -prune -o -printf "$findformat"
+ fi