bash script reading birthdays from csv files
I wanted to create a quick shell script that can be called either via cron or inside a .bashrc
or .zshrc
.
The corresponding .csv
files should be placed inside the ~/.bdayscript/
directory. The sed-Commands are tailored to read min-one-digit day and month numbers, like e.g. 2/4/00.
bdayscript.sh
in a nice and warm place, e.g. ~/scripts/
or something.~/.bdayscript/
directory.
Surname;Name;M(M)/D(D)/YY
Doe;John;12/24/85
.bashrc
or .zshrc
file. Alternatively you can also create a similar cronjob.
bash ~/scripts/bdayscript.sh
This project is licensed under the MIT License.