title: Is there a command like "watch" or "inotifywait" on the Mac?
body: <p>I want to watch a folder on my Mac and then execute a bash script, passing it the name of whatever file/folder was just moved into or created in the watched directory.</p>