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

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