From 9301293df9116ff39a379adfe955fb42d56e312d Mon Sep 17 00:00:00 2001 From: kplaczek Date: Sat, 18 Dec 2021 11:48:56 +0100 Subject: [PATCH] Bash script that generates the directory with the files inside for input and parts one and two. --- aoc.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 aoc.sh diff --git a/aoc.sh b/aoc.sh new file mode 100644 index 0000000..7832e71 --- /dev/null +++ b/aoc.sh @@ -0,0 +1,14 @@ +#!/bin/bash +day=$(date +'%d') +mkdir -p $day +touch "${day}/input" +touch "${day}/input.sample" +touch "${day}/part1.php" +echo "> "${day}/part1.php" +touch "${day}/part2.php" + +echo "> "${day}/part2.php"