watchman -j <<-EOT ["trigger", "/opt/share", { "name": "scanner", "expression": ["allof", ["match", "*"], ["exists"]], "command": ["/usr/local/sbin/scanner.sh"], "append_files": true }] EOT