A simple command line note taking script written in Python. This is meant to facilitate "brain dumps" rather than organizing, rearranging, etc. However, the resulting file is a plain text file so you can re-organize to your hearts content.
Simply writes strings entered on the command line to a file (as specified in notes.cfg).
- New notes are appended at the end of the file
- Notes are formatted as markdown style list items (or equivalently YAML sequence items) so it's easy to import them into your other plain text based workflow.
- An ISO 8601 timestamp is appended to the end of each note (in square brackets).
This script was derived from a Python script found on the Rosetta Code website.
- put notes.pyon yourPATHand make executable (chmod +x notes.py)
- Copy notes.cfgto$HOME/.notes.cfg
- Edit .notes.cfgto set thenotedirandnotefileparameters to specify the directory and filename of your notes files
- setup an alias in your .bash_profile, e.g.alias note="notes.py"
- notes.py-- prints the contents of the notes file
- notes.py "I wonder how fast an unladen swallow can fly?"-- adds note to note file