A simple script to create and access Markdown notes easily.
To install tnotes you can edit the Makefile to match your local setup (tnotes is installed into the /usr/local/bin by default).
Afterwards enter the following command to install tnotes (if necessary as root).
sudo make installTo uninstall tnotes, just run:
sudo make uninstall
tnotes can create, rename and delete notes.
We can do that you by using the options listed bellow:
-p,--path: informs the path where the notes will be (or are) being stored;-a,--add<name>: adds a new note with the title received as argument on the path informed with--path;-s,--sub<subname>: adds a subtitle received as argument in the note metadata of the note;-t,--tags<tags>: adds tags to the note metadata of the note;-l,--list: lists the notes in stored in the path informed with--path;-r,--rename<name><new name>: rename note file withe the name informed as argument;-d,--delete<name>: deletes a note with the title received as argument on the path informed with--path;
In these examples we are assuming that your notes dir is ~/notes/.
- To
adda note withsubtitleandtags:
$ tnotes --path ~/notes/ --add "Test Note" --sub "This is a Test" --tags "test, note, markdown"
~/notes/Test Note.md added!Afther this you can add your content by editing the note with your favorite text editor.
- To
listthe notes:
$ tnotes --path ~/notes/ --list
Test Note.mdIn this example the note metadata will be:
$ cat ~/notes/Test\ Note.md
---
title: "Test Note"
subtitle: "This is a Test"
date: "2021-03-18 23:10:21"
tags: test, note, markdown
---- To
renamea note:
$ tnotes --path notes/ --rename "Test Note.md" "New Note"
renamed to New Note.- To
deletea note:
$ tnotes --path notes/ --delete "New Note"
notes/New Note deleted!And that's it!
![]() |
![]() |
|---|---|
| Edimar Calebe Castanho (Calebe94) | Gabriel Gaboardi (Gabo) |
All software is covered under GNU General Public License v3.0.

