Rename files recursively
find . -depth -name "*.oldext" -exec sh -c 'mv "$1" "${1%.oldext}.newext"' _ {} \;