Last active
December 24, 2019 10:56
-
-
Save marcelblijleven/84060a8440a2ddd45f4dcfb9c7fe26c3 to your computer and use it in GitHub Desktop.
re-uploaded my script to set up hour registration directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
declare -a months=( | |
"01_Januari" | |
"02_Februari" | |
"03_Maart" | |
"04_April" | |
"05_Mei" | |
"06_Juni" | |
"07_Juli" | |
"08_Augustus" | |
"09_September" | |
"10_Oktober" | |
"11_November" | |
"12_December" | |
) | |
for month in "${months[@]}" | |
do | |
echo "Creating directory $month" | |
mkdir -p "$month" | |
cp "./Urensheets_template.xlsx" "./$month/Urensheets_${month:3}.xlsx" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
2 years old but still works for me :)