cross-posted from: https://lemmy.ml/post/35169329

Using a shell script, can I watch a folder and block program execution until a file in a certain folder changes?