🤗lemmyverseultrahug@lemmy.ml to Linux Questions@lemmy.zipEnglish · edit-22 months agoRun a shell script whenever a file in a certain directory changes?message-squaremessage-square18fedilinkarrow-up111arrow-down10file-text
arrow-up111arrow-down1message-squareRun a shell script whenever a file in a certain directory changes?🤗lemmyverseultrahug@lemmy.ml to Linux Questions@lemmy.zipEnglish · edit-22 months agomessage-square18fedilinkfile-text
Using a shell script, can I watch a folder and block program execution until a file in a certain folder changes?
minus-square🤗lemmyverseultrahug@lemmy.mlOPlinkfedilinkEnglisharrow-up1arrow-down1·edit-22 months agoOn the upside, you do not need to install the inotifywait package. md5sum already installed on my system haha
minus-squarehperrin@lemmy.calinkfedilinkEnglisharrow-up8·2 months agoIf you are a big fan of wasting disk performance, CPU cycles, and ultimately power.
minus-squarePossibly linux@lemmy.zipMlinkfedilinkEnglisharrow-up2·2 months agoIt isn’t a terrible solution if you are checking infrequently just as ever 30 minutes.
On the upside, you do not need to install the
inotifywait
package.md5sum
already installed on my system hahaIf you are a big fan of wasting disk performance, CPU cycles, and ultimately power.
It isn’t a terrible solution if you are checking infrequently just as ever 30 minutes.