mirror of
https://github.com/brunoos/luasec.git
synced 2024-11-09 15:08:26 +01:00
8 lines
208 B
Bash
Executable File
8 lines
208 B
Bash
Executable File
#!/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
|