Re: aide bash

Top Page

Reply to this message
Author: nt.guilde
Date:  
To: anne aublanc
CC: guilde
Subject: 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