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-square4linkfedilinkarrow-up11file-text
arrow-up11message-squareRun a shell script whenever a file in a certain directory changes?ghosttownenjoyer👻🌃@lemmy.ml to Linux Questions@lemmy.zipEnglish · edit-25 months agomessage-square4linkfedilinkfile-text
Using a shell script, can I watch a folder and block program execution until a file in a certain folder changes?
minus-squareghosttownenjoyer👻🌃@lemmy.mlOPlinkfedilinkEnglisharrow-up0·5 months agoI really like this, replace compile with whatever command you desire I guess.
minus-squarehperrin@lemmy.calinkfedilinkEnglisharrow-up1·5 months agoThis is a terrible solution. You will stress your IO for no reason.
I really like this, replace compile with whatever command you desire I guess.
This is a terrible solution. You will stress your IO for no reason.