Sometime on Jul 23, Manish Jethani assembled some asciibets to say:
Can a shell script contiuously poll for a specific file in a
Yes, perhaps you should send the script into an infinite loop
Polling is always done with pseudo infinite loops. pseudo infinite because although not strictly an infinite loop (while 1), there is no guarantee that the condition will match.
sleeping for about five seconds between polls is how I do it.
Philip