bash inotifywait - ghdrako/doc_snipets GitHub Wiki


tags:

  • bash
  • scripting
  • shell

Bash inotifywait

Init tool everytime a file in a directory is modified

while true ; do inotifywait -r -e MODIFY dir/ && ls dir/ ; done;