Re: converting .php files to .dhtml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux