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