Display a random journal page.
  • Shell 94.1%
  • Makefile 5.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-04-20 13:43:18 +03:00
Makefile add makefile 2024-04-20 13:41:36 +03:00
randomjournalpage.sh fix journals path 2024-04-20 13:43:18 +03:00
README.md fix 2022-06-02 10:59:35 +01:00

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