Here's a perl script I whipped up. I'm sure there is a more general
implementation of this. This seems to work fine for the present problem.
:)
#!/usr/bin/perl
@files = glob("*.cpp.cc");
foreach $file (@files) {
$oldfile = $file;
$file =~ s/.cpp.cc/.cc/;
exec "mv $oldfile $file";
}