mirror of
https://github.com/brunoos/luasec.git
synced 2024-11-14 01:18:24 +01:00
8 lines
208 B
Bash
8 lines
208 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
while true; do
|
||
|
filename=$(inotifywait -qe close_write . --include '\.md$' --format '%f')
|
||
|
markdown < "$filename" > "$(basename "$filename" ".md").html"
|
||
|
echo "[$(date)] Updated $filename"
|
||
|
done
|