Answers for "bash wait until file exists"

0

bash wait until file exists

until [ -f /tmp/examplefile.txt ]
do
     sleep 5
done
echo "File found"
exit
Posted by: Guest on July-15-2021

Browse Popular Code Answers by Language