converting .php files to .dhtml
Trevor "TeC" Christian
trevor at bouyon.dalive.com
Thu Jul 21 19:16:29 UTC 2005
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 at hotmail.com / trevor at bouyon.dalive.com
YM : trevorc01
AIM: DoubleOTeC
------------------------------------------------------------------------
Home Page <http://trevor.bouyon.dalive.com//>
Curriculum Vitae <http://bouyon.dalive.com/cv/>
Dalive Market <http://www.dalivemarket.com/>
More information about the fedora-list
mailing list