#!/bin/ksh
for fl in $(find /home/txhylmr/cafe/ -name '*.C'); do
mv fl fl.cpp
done
This script doesnot work. It results in filenames as first.C.cpp second.C.cpp so on...
I need to see them as first.cpp second.cpp and so on....
Please help me.
Thanks in advance.
Swaroop.
for fl in $(find /home/txhylmr/cafe/ -name '*.C'); do
mv fl fl.cpp
done
This script doesnot work. It results in filenames as first.C.cpp second.C.cpp so on...
I need to see them as first.cpp second.cpp and so on....
Please help me.
Thanks in advance.
Swaroop.