This is my shel script.
while true
do
inotifywait --exclude .swp -e create -e modify -e delete -e move /etc/autogenerated
echo "Folder state changed"
done
I am creating file inside /etc/autogenerated folder directly using NodeJS app. It is not trigging the inotifywait trigger.
But If I manually copy file from terminal it working file.
Any suggestion for me?
via vimal prakash
No comments:
Post a Comment