converting .php files to .dhtml

Stefan Stefanov stv at experta.extrapack.com
Thu Jul 21 12:25:45 UTC 2005


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.
>

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




More information about the fedora-list mailing list