Re: aide bash

トップ ページ

このメッセージに返信
著者: nt.guilde
日付:  
To: anne aublanc
CC: guilde
題目: 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