🤗lemmyverseultrahug@lemmy.ml to Linux Questions@lemmy.zipEnglish · edit-210 days 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?🤗lemmyverseultrahug@lemmy.ml to Linux Questions@lemmy.zipEnglish · edit-210 days 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-square🤗lemmyverseultrahug@lemmy.mlOPlinkfedilinkEnglisharrow-up2·edit-210 days 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·10 days 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.