jrnl - The Command Line Journal
Last year I dreamed to make journaling a daily habit. I want something small and quick setup. After some research, I decided to give jrnl a try.
jrnl is a command line journal. Documentation
Quick commands:
- Type
jrnl yesterday: Called in sick.to add yesterday entry. - Type
jrnl today at 3am: Swimmingto add today 3am entry. - Use
@for tag. For example,jrnl Had a wonderful day at the @beach. - Use
*to mark an entry as a favorite. For example,jrnl last sunday *: Best day of my life.. - Type
jrnl -to todayto view all entries. - Type
jrnl -n 10to list the ten most recent entries. - Type
jrnl -from "last year" -to marchto see all of the entries you wrote from the beginning of last year until the end of this past March. - Type
jrnl -on yesterdayto see yesterday entries. - Type
jrnl -month 1 -year 2020 --editto open your external editor displaying all entries were written in Jan 2020. - Type
jrnl -contains "dogs" --editto open your external editor so that you can add a tag symbol (@ by default) to all instances of the word 'dogs'. - Type
jrnl @pinkie @WorldDominationto display all entries in which either '@pinkie' or '@WorldDomination' occurred. - Type
jrnl -n 5 @pinkie -and @WorldDominationto display the last five entries containing both '@pinkie' and '@worldDomination'. - Type
jrnl --tagsto view a list of all tags in the journal. - Type
jrnl -starredto display only your favorite (starred) entries. - Type
jrnl -to 1950 @texas -and @history --editto open your external editor displaying all entries tagged with '@texas' and '@history' that were written before 1950. After making changes, save and close the file, and only those entries will be modified (and encrypted, if applicable). - Type
jrnl work -n 1 --editto open the most recent entry in the 'work' journal in your external editor. - Type
jrnl -to 2004 @book --deleteto show all entries in 2004 or earlier and with '@book', and you can choose the ones you want to delete. - Type
jrnl -to 2004 @book --editto open all entries in 2004 or earlier and with '@book' in your external editor, and you can select everything, delete it, save and close, and all of those entries are removed from the journal. - Type
jrnl --listto list all of your journals.
Comments
Comments powered by Disqus