for i in `find ./workspaces -name Root |grep "CVS.Root$"`; do echo "file = $i" #sed 's/old/new/g' "$i" > atempfile && mv atempfile "$i" done