f="day$1" echo "$f" mkdir "$f" touch "$f/input.txt" txt=$(cat < "$f/part1.py" echo "$txt" > "$f/part2.py"