▲ 21 ▼ Run a shell script whenever a file in a certain directory changes? (lemmy.ml) submitted 1 year ago by helloworld@lemmy.ml to c/linuxquestions@lemmy.zip 23 comments fedilink hide all child comments Using a shell script, can I watch a folder and block program execution until a file in a certain folder changes?
[–] MyNameIsRichard@lemmy.ml 12 points 1 year ago There is inotifywait which seems to do the job, The Wiki permalink fedilink source