Salut,
Le Vendredi 16 Mars 2001 14:48, vous avez écrit :
> Comment faire pour indiquer une condition dans un script ?
> #!/bin/sh
> #
> mv /origin/plan.tif /spool/plan.tif
je te propose :
if [ -f /origin/plan.tif ]
then
mv /origin/plan.tif /spool/plan.tif
fi
Tom.
--
Thomas Pimmel
email : [EMAIL PROTECTED]
http : http://www.ringard.org
- Re: [debutant] Re: Boot apr?sr?initialisation de windo... Jean Segers
- [debutant] Re: Boot apr?sr?initialisation de wind... Arnaud Calvo
- [debutant] Script Jean-Louis HAILLANT
- [debutant] RE: Script Arnaud Calvo
- RE: [debutant] Script VIDAL Thomas
- Re: [debutant] Script Gerald Brosseau
- Re: [debutant] Script Jean-Louis HAILLANT
- Re: [debutant] Script oboisse
- Re: [debutant] Script serge carrere
- Re: [debutant] Script Michel Parlebas
- [debutant] konqueror Thomas Pimmel
- [debutant] konqueror Jean Paul Bachelot
- Re: [debutant] konqueror Didier NOACK
- Re: [debutant] konqueror Jean Paul Bachelot
- Re: [debutant] kcmkisdn kisdn Jean Paul Bachelot
- Re: [debutant] kcmkisdn kisdn forfait 20 heures
- Re: [debutant] kcmkisdn kisdn Jean Paul Bachelot
- Re: [debutant] konqueror cohendoz andre
