I need to monitor a directory for new files that are added (constantly: one or two every 5 seconds are added and deleted).
It would be nice to tail them constantly in terminal, but since this seems unlikely, it would be also good to append all of the tails to a file. That way when I stop my process I can review all of the files that were added and deleted (I need the contents not the filename).
A shell script will work as well as long as it will run on Mac OSX Lion.
Any help? I've tried multi-tail and tail -f (but these don't monitor the directory for new files).