coppit / docker-inotify-command

Watch a folder for changes, and run a command in response
GNU Lesser General Public License v2.1
35 stars 32 forks source link

Getting filename of the change event #9

Open yohnniebabe opened 2 years ago

yohnniebabe commented 2 years ago

Hi, nice docker container you have here, tested everything and it works, but just wondering whether its possible to get the filename of the change event to parse the file into a script as a parameter

Maybe a setting to restrict only detecting certain events line CREATE or MODIFY, I noticed delete events are also detected.