jrnl/docs/import-and-export.md
2020-09-05 15:00:53 -07:00

542 B

Export to files

You can specify the output file of your exported journal using the -o argument

jrnl --format md -o journal.md

The above command will generate a file named journal.md. If the-o argument is a directory, jrnl will export each entry into an individual file

jrnl --format json -o my_entries/

The contents of my_entries/ will then look like this:

my_entries/
|- 2013_06_03_a-beautiful-day.json
|- 2013_06_07_dinner-with-gabriel.json
|- ...