SYNOPSIS
- waitfor [-t seconds] [-n] file
DESCRIPTION
waitfor will wait for a file to appear, or with the -n option, for a file
RETURN VALUES
The program will return 0 if the file action happens. If no timeout is specified, waitfor will wait forever. If a timeout is specified, and the file action does not happen within the timeout specified, waitfor will return 1.