diff --git a/README.md b/README.md index 35c03dc..5e0b1f8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Example repo relating to a blog post. +Example repo relating to [this blog post](https://riksolo.com/blog/nextcloud-external-edits-2025-02-12/). requires a working docker setup to run. diff --git a/s6-rc-inotify/run b/s6-rc-inotify/run index a0a2c6e..a2a53cb 100644 --- a/s6-rc-inotify/run +++ b/s6-rc-inotify/run @@ -24,7 +24,11 @@ detect(){ # this uses inotifywait to watch for changes # then it runs the code in the while block to handle file paths it spits out - inotifywait -mre close_write,delete --format '%e|%w|%f' --exclude "$EXCLUDE" "$WATCH" | while read RAWEVENT + inotifywait -mre close_write,delete \ + --format '%e|%w|%f' \ + --exclude "$EXCLUDE" \ + "$WATCH" | while read RAWEVENT \ + / do # inotifywait spits out the events like "eventtype|/directory|filename" # here we split them into it's three parts.