1
0
web/scpt/md.zsh
2024-04-07 18:18:53 +09:00

17 lines
184 B
Bash
Executable File

#!/bin/zsh
d=${0:a:h:h}
c=$d/content/blog
for i in $(seq -w 1 20)
do
d=2024-01-$i
f=$c/$d-test.md
echo "
+++
date = \"${d}T00:00:00+09:00\"
title = \"${RANDOM}\"
+++
" >! $f
done