1
0
web/scpt/md.zsh

17 lines
184 B
Bash
Raw Normal View History

2024-04-05 08:46:22 +00:00
#!/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