Stefan Stefanov wrote:
On Tuesday 19 July 2005 15:18, Ankush Grover wrote:
I want to convert all the .php files under the main directory and
under its subdirectories to .dhtml.
the rename command may be of help
call: rename from to files...
EG: rename .php .dhtml *.php
In the main directory, try command line
for i in `find -name "*.php"`; do name=${i%.php}; mv $name.php $name.dhtml;
done
It works for me with bash version 3.00.16(1)-release
Cheers,
Stefan
--
*Trevor "TeC" Christian*
Cell #: (767) 225 4472
IM
MSN: trevorc98@xxxxxxxxxxx / trevor@xxxxxxxxxxxxxxxxx
YM : trevorc01
AIM: DoubleOTeC
------------------------------------------------------------------------
Home Page <http://trevor.bouyon.dalive.com//>
Curriculum Vitae <http://bouyon.dalive.com/cv/>
Dalive Market <http://www.dalivemarket.com/>