Hello tony.blue.mailinglist@gmx.de, Bist Du sicher, das Du das willst: > capisuitefax -u frank -d $DESTNO $i >/dev/null 2>&1 > mv $i "gesendet/$DESTNO `date +%Y%m%d-%H%M`.pdf" was ist, wenn es beim Fax-Versand einen Fehler gegeben hat? Um zu verhindern, das es einen permanenten Fehlker gibt, würde ich es so machen capisuitefax -u frank -d ${DESTNO} $i >/dev/null 2>&1 if [ $? -eq 0 ] then mv $i "gesendet/${DESTNO}_$(date +%Y%m%d-%H%M).pdf" else mv $i "fehler_bei_versand/${DESTNO}_$(date +%Y%m%d-%H%M).pdf" fi Thanks, Greetings and nice Day/Evening Michelle Konzack -- ##################### Debian GNU/Linux Consultant ###################### Development of Intranet and Embedded Systems with Debian GNU/Linux Internet Service Provider, Cloud Computing <http://www.itsystems.tamay-dogan.net/> <http://www.debian.tamay-dogan.net/> itsystems@tdnet Jabber linux4michelle@jabber.ccc.de Owner Michelle Konzack Gewerbe Strasse 3 Tel office: +49-176-86004575 77694 Kehl Tel mobil: +49-177-9351947 Germany Tel mobil: +33-6-61925193 (France) USt-ID: DE 278 049 239 Linux-User #280138 with the Linux Counter, http://counter.li.org/
Attachment:
signature.pgp
Description: Digital signature