ghosttownenjoyer👻🌃 ( helloworld@lemmy.ml ) to Linux Questions@lemmy.zipEnglish · edit-21 year agoRun a shell script whenever a file in a certain directory changes?message-squaremessage-square8linkfedilinkarrow-up115file-text
arrow-up115message-squareRun a shell script whenever a file in a certain directory changes?ghosttownenjoyer👻🌃 ( helloworld@lemmy.ml ) to Linux Questions@lemmy.zipEnglish · edit-21 year agomessage-square8linkfedilinkfile-text
Using a shell script, can I watch a folder and block program execution until a file in a certain folder changes?
minus-squarejellyfish ( jellyfish@beehaw.org ) linkfedilinkEnglisharrow-up3·1 year agoThe simplest solution is entr, I use it a lot for development - https://www.linuxbash.sh/post/entr-rerun-commands-when-files-change
The simplest solution is entr, I use it a lot for development - https://www.linuxbash.sh/post/entr-rerun-commands-when-files-change