tail -f bar/somefile.log would fail immediately when somefile.log does not exist. How do I make tail indefinitely wait for that file to be created (which will happen in a few moments)?
-F, I see:
tail: cannot open `bar/somefile.log' for reading: No such file or directory tail: cannot watch parent directory of `bar/somefile.log': No such file or directory
bar does't exist yet (it will be created in a few moments). when
bar was created, and
somefile.log was touched, tail didn't pick up the changes at all.