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

16 lines
344 B

#!/bin/bash
l=10
for ((i=1;i<26;i++))
do
if (( $i < $l ))
then
cp "day0$i/challenge"* "challenges"
cp "day0$i/AoC"* "code"
cp "day0$i/input"* "day0$i/test"* "inputs"
else
cp "day$i/challenge"* "challenges"
cp "day$i/AoC"* "code"
cp "day$i/input"* "day$i/test"* "inputs"
fi
done