bash inotifywait - ghdrako/doc_snipets GitHub Wiki

Init tool everytime a file in a directory is modified

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