The inotifywait command
~$ inotifywait --quiet --monitor \ > --event CLOSE_WRITE --format '%f' $WATCH_DIR