bash attendre le fichier existe

until [ -f /tmp/examplefile.txt ]
do
     sleep 5
done
echo "File found"
exit
Gifted Gull