Rename extension on multiple files

 

In the example below it will find all files that end .php and renames them to .php5
find . | sed 's/\(.*\)\.php/mv \1.php \1.php5/' | sh