CSWatch is CLI tool that will monitor a directory and act upon changes.  When new files are detected that match the set extension filter, it will run the specificed command against the file.  It then can move the file to a completed directory, if desired.