3 ms·
I use incron to monitor some directory and take action when the file is done copying into the drop folder, mostly for some drag-and-drop transcoding with ffmpeg
by m-p-3 8y ago
I use incron to monitor some directory and take action when the file is done copying into the drop folder, mostly for some drag-and-drop transcoding with ffmpeg with a specific set of codecs, etc.
My use case is probably not what you're doing, as the file isn't going to show up and vanish quickly, but maybe it would be better than scripting inotify?
I'll have to take a look at watchman though, seems solid from the looks of it.