我正在运行允许您在flow.xml.gz
更改时执行命令的代码:
while inotifywait -e modify,move,create,delete flow.xml.gz; do echo "test"; done
当我更改文件时,没有任何反应。我只有这个输出:
smadmin@sm-iotdf-mini-dev:~/nifi-1.4.0/conf$ while inotifywait -e modify,move,create,delete flow.xml.gz; do echo "test"; done
Setting up watches.
Watches established.