mirror of
https://github.com/brunoos/luasec.git
synced 2024-11-08 14:38:25 +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
|