ghosttownenjoyer👻🌃@lemmy.ml to Linux Questions@lemmy.zipEnglish · edit-25 months agoRun a shell script whenever a file in a certain directory changes?message-squaremessage-square22linkfedilinkarrow-up124arrow-down10file-text
arrow-up124arrow-down1message-squareRun a shell script whenever a file in a certain directory changes?ghosttownenjoyer👻🌃@lemmy.ml to Linux Questions@lemmy.zipEnglish · edit-25 months agomessage-square22linkfedilinkfile-text
Using a shell script, can I watch a folder and block program execution until a file in a certain folder changes?
minus-squareMyNameIsRichard@lemmy.mllinkfedilinkEnglisharrow-up14·5 months agoThere is inotifywait which seems to do the job, The Wiki
There is inotifywait which seems to do the job, The Wiki