Skip to content

bash inotifywait

ghdrako edited this page Mar 2, 2023 · 1 revision

Init tool everytime a file in a directory is modified

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

Test

Clone this wiki locally