mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Update readme in accordance to changes
Signed-off-by: Aniket Pant <me@aniketpant.com>
This commit is contained in:
parent
659f9c4d98
commit
6fff395701
1 changed files with 6 additions and 21 deletions
27
README.md
27
README.md
|
@ -140,32 +140,17 @@ or
|
||||||
|
|
||||||
Prettyprints your entire journal.
|
Prettyprints your entire journal.
|
||||||
|
|
||||||
### Export to multiple files
|
### Export to files
|
||||||
|
|
||||||
jrnl --export files
|
jrnl --export md -o journal
|
||||||
|
|
||||||
This export option allows you to get your entire journal into individual files for each entry.
|
The above command will generate a file named `journal.md`. The extension will be generated on the type of export option. This way a json export will generate a `.json` file and a plain text export will generate a `.txt` file.
|
||||||
By default, files are exported as `txt` files. You can specify any extension.
|
|
||||||
|
|
||||||
**Output file**
|
In case you wish to export to multiple files, you can use a glob-able filename.
|
||||||
|
|
||||||
You can specify an output file with your export options. It works with `json`, `markdown`, `txt` and `files` option.
|
jrnl --export markdown -o %C-%m-%d_slug
|
||||||
|
|
||||||
For using it with multiple files, you can use it like this:
|
It also works with `json` and `text` export types.
|
||||||
|
|
||||||
jrnl --export files -o ~/journal/*.txt
|
|
||||||
|
|
||||||
If you wish to output to a directory without specifying a file:
|
|
||||||
|
|
||||||
jrnl --export files -o ~/journal/
|
|
||||||
|
|
||||||
Other methods to use this option
|
|
||||||
|
|
||||||
jrnl --export json -o jrnl.json
|
|
||||||
jrnl --export md -o jrnl.md
|
|
||||||
jrnl --export txt -o jrnl.txt
|
|
||||||
|
|
||||||
These will output the given filename in the current working directory.
|
|
||||||
|
|
||||||
Encryption
|
Encryption
|
||||||
----------
|
----------
|
||||||
|
|
Loading…
Add table
Reference in a new issue