You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
162 B
Bash

#!/bin/bash
DAY=18
SOURCE="2022-08-21-welcome-to-jekyll.markdown"
OUT="2022-08-$DAY-$i.markdown"
for i in {1..15}; do
cp "$SOURCE" "OUT"
DAY = $((DAY - 1))
done