mirror of
https://github.com/brunoos/luasec.git
synced 2024-11-08 06:28: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
|