Re: ejecutar un comando de shell
| From: | Sime� Reig | Date: | Fri, 22 Sep 2000 02:26:56 +0000 |
| Subject: | Re: ejecutar un comando de shell | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-1827@lists.php.net to get a copy of this message | ||
A vie, 22 sep 2000, Paul Castillo va escriure:
>
> Como podría ejecutar un comando de shell de linux para mover un archivo a otro lado.
> Quiero ejecutar mv /directorio1/file.txt /direcorio2/
<!--#exec cmd='
if test -x /directorio1/file.txt
mv /directorio1/file.txt /directorio2/file.txt
fi
'-->
--
Simeó Reig
Barcelona (Spain)