command-line application to monitor a folder