helloworld@lemmy.ml to Linux Questions@lemmy.zipEnglish · edit-216 hours agoRun a shell script whenever a file in a certain directory changes?message-squaremessage-square22fedilinkarrow-up121arrow-down10file-text
arrow-up121arrow-down1message-squareRun a shell script whenever a file in a certain directory changes?helloworld@lemmy.ml to Linux Questions@lemmy.zipEnglish · edit-216 hours agomessage-square22fedilinkfile-text
Using a shell script, can I watch a folder and block program execution until a file in a certain folder changes?
minus-squarehelloworld@lemmy.mlOPlinkfedilinkEnglisharrow-up2·edit-212 hours agoa hobby project: generate a rss feed based on recent file changes in a directory. But I thought this can also have many applications … auto formatting code files on change automatic backups of a certain folder: run rsync on change in folder.
minus-squarePossibly linux@lemmy.zipMlinkfedilinkEnglisharrow-up4·12 hours agoAre you familiar with CI/CD pipelines? You could use Git along with a service like Woodpecker CI or Gitlab Runners.
What is the end goal?
a hobby project: generate a rss feed based on recent file changes in a directory. But I thought this can also have many applications …
Are you familiar with CI/CD pipelines? You could use Git along with a service like Woodpecker CI or Gitlab Runners.