A desktop note taking application, that allows you to quickly describe the current day.
Find a file
2022-10-03 18:31:10 +05:00
histd.py Change files extension to .md 2022-10-02 15:10:19 +05:00
license.md Initial commit 2022-08-19 17:31:51 +05:00
Makefile Add the ability to install a program using make 2022-08-24 22:21:13 +05:00
readme.md Specify the full installation path 2022-10-03 18:31:10 +05:00

How I spent this day

A simple but useful personal diary application.

The sole purpose of this application is to quickly create a file and open it in a text editor so that I can take a note before I lose my desire. Notes can be found in the ~/.local/share/histd directory.

tree ~/.local/share/histd
# /home/user/.local/share/histd
# └── 2022
#     └── 08
#         ├── 18.md
#         └── 19.md

Usage

python3 histd.py

Installation

To copy the script to /usr/local/bin/histd, run this command as root:

make install

Backup

To create an archive of all notes, run the following commands:

cd ~/.local/share
tar -cJf histd.tar.xz histd

Merge all notes

This command concatenates all files and prefixes each with the creation date.

for f in ~/.local/share/histd/**/*.md; do echo $f | sed 's/^.*histd\//# /'; cat "${f}"; echo; done