#!/bin/bash if [ -z $1 ]; then cp -R dayTemplate $(aoc today) cd $(aoc today) exit 0 fi YR=$1 DY=$2 cp -R dayTemplate "$YR/$DY"