summaryrefslogtreecommitdiff
path: root/README.md
blob: 65be27d4ebe978ecf454d081b6714dbee733d6bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Read a random journal

This is a quick and dirty script which I use personally to grab a random PDF file (a scanned version of one of my bullet journals)and to extract a random set of pages from it in order to reflect/read what was happening in the past. This also includes various notes of books I have read and random ideas I wrote down and my want to reconsider.

## Requirements

For Fedora Linux:

```
# for (obviously) qpdf
sudo dnf install qpdf
# for pdfinfo
sudo dnf install poppler-utils
```

## Usage

Simply configure the journal path and the PDF vewer in the script and run: `./randomjournalpage.sh`

## Testing

There is no real testing done. It's a pretty simple script. However, the script passes the following ShellCheck command:

```
shellcheck randomjournalpage.sh --exclude SC2155
```