#! /bin/csh -f if $#argv > 1 then set folder = $1 else set folder = 201210 endif find $folder -type d -name '.svn' -exec /bin/rm -rf {} \;