Re: aide bash

Startseite

Nachricht beantworten
Autor: nt.guilde
Datum:  
To: anne aublanc
CC: guilde
Betreff: Re: aide bash
>if [ ! -z `ls /home/e-smith/files/ibays/fax_voice/html/fax/tmp/` ] ; then
>    mv /home/e-smith/files/ibays/fax_voice/html/fax/tmp/*
>/home/e-smith/files/ibays/fax_voice/files/fax/tmp/;
>fi


if [ -n "`ls /home/e-smith/files/ibays/fax_voice/html/fax/tmp/`" ] ; then
mv ...
fi

ou

[ -n "$(ls /home/e-smith/files/ibays/fax_voice/html/fax/tmp/)" ] && mv ...

-Nicolas Tripon