🤗lemmyverseultrahug@lemmy.ml to Linux Questions@lemmy.zipEnglish · edit-21 day agoRun a shell script whenever a file in a certain directory changes?message-squaremessage-square22fedilinkarrow-up122arrow-down10file-text
arrow-up122arrow-down1message-squareRun a shell script whenever a file in a certain directory changes?🤗lemmyverseultrahug@lemmy.ml to Linux Questions@lemmy.zipEnglish · edit-21 day 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-square🤗lemmyverseultrahug@lemmy.mlOPlinkfedilinkEnglisharrow-up2·edit-21 day 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·1 day 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.