summaryrefslogtreecommitdiffstats
path: root/scripts/watch_metadata.sh
blob: 4323c905ba4bb749613a6705ed66eb6e033eeb27 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/bash

inotifywait -qrme close_write,delete,move --format "%w%f" metadata \
    | while read FILENAME
        do
            scripts/build_content.sh "md"
        done