https://github.com/eightsq/bdayscript
bash script reading birthdays from csv files
https://github.com/eightsq/bdayscript
birthdays database script shell
Last synced: about 2 months ago
JSON representation
bash script reading birthdays from csv files
- Host: GitHub
- URL: https://github.com/eightsq/bdayscript
- Owner: EightSQ
- License: mit
- Created: 2018-02-04T17:38:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-21T00:42:40.000Z (over 7 years ago)
- Last Synced: 2025-04-09T06:28:43.823Z (about 1 year ago)
- Topics: birthdays, database, script, shell
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bdayscript
## Purpose
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*.
## Setup
1. Place the `bdayscript.sh` in a nice and warm place, e.g. `~/scripts/` or something.
2. Create a `~/.bdayscript/` directory.
3. Create a csv "database" in the following form:
```csv
Surname;Name;M(M)/D(D)/YY
Doe;John;12/24/85
```
4. Insert a call to the script sinside your `.bashrc` or `.zshrc` file. Alternatively you can also create a similar cronjob.
```bash
bash ~/scripts/bdayscript.sh
```
5. Never forget a birthday again.
## To-Do
- [ ] Create a setup agent to manage birthdays in the database.
- [ ] Add multi-language support.
## Authors
- EightSQ - *all by himself* - https://electronvo.lt
## License
This project is licensed under the MIT License.