Forrest logo
back to the jrnl tool

jrnl:tldr:cee06

jrnl: View everything that happened from the start of last year to the start of last march.
$ jrnl -from "${last year}" -until ${march}
try on your machine

The command "jrnl -from "${last year}" -until ${march}" is used to filter and display journal entries within a specific time range in the "jrnl" command line tool.

Here's a breakdown of the command:

  • "jrnl": This is the actual command to run the "jrnl" tool, which is used for keeping a journal or logging entries from the command line.

  • "-from "${last year}"": This option specifies the starting date from which the journal entries will be displayed. In this case, the placeholder "${last year}" is used to represent the date from exactly one year ago from the current date.

  • "-until ${march}": This option specifies the ending date until which the journal entries will be displayed. Here, the placeholder "${march}" indicates the date until which the entries will be shown, particularly in the month of March.

Combined, the command will show all journal entries starting from one year ago until the end of March. The actual dates will be dynamically determined based on the current date when the command is run.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the jrnl tool