Re: Multiple ASP 2 PHP conversion
| From: | Christian Reiniger | Date: | Sat, 12 May 2001 09:09:10 +0000 |
| Subject: | Re: Multiple ASP 2 PHP conversion | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52555@lists.php.net to get a copy of this message | ||
On Saturday 12 May 2001 00:51, Brandon Orther wrote:
> Hello,
>
> I found asp2php to be a great tool. Does anyone know of a way to make
> it convert a whole directory or more than one file at a time?
I don't know asp2php, but a simple
cd src
for i in
find -name '*.php' ; do
asp2php $i ../dest/$i
done
should do it in any decent environment (i.e. any Unix flavor :)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Install once, run forever. Linux.