histd/readme.md
2023-02-16 23:27:28 +05:00

35 lines
711 B
Markdown

# 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.
```sh
tree ~/.local/share/histd
# /home/user/.local/share/histd
# └── 2022
# └── 08
# ├── 18.md
# └── 19.md
```
## Usage
```bash
chmod +x histd.sh
./histd.sh
```
## Backup
To create an archive of all notes, run the following command:
```bash
./histd.sh backup
```
## Merge all notes
This command concatenates all files and prefixes each with the filename.
```bash
./histd.sh merge
```