7 lines
103 B
Bash
Executable File
7 lines
103 B
Bash
Executable File
#!/bin/sh
|
|
|
|
list=`find . -name '*.cc' | sed 's/\.cc$//'`
|
|
for i in $list; do
|
|
mv ${i}.cc ${i}.cpp
|
|
done
|