for file in `find $1 -type f`; do
  cat $file | tr "[:upper:]" "[:lower:]" > tmp
  cp tmp $file
done
