`rm -- *.php.php` this will delete all files that have more than one php extension
for all sub directories you need
find /scripts/tmp -name "*.php.php" -exec rm {} +
`/scripts/tmp` is the directory under which my files and subdirectories existed