Updated Readme

This commit is contained in:
Manuel Ebert 2013-07-17 18:24:53 +02:00
parent 0c374a839c
commit edc41dab20
2 changed files with 15 additions and 7 deletions

View file

@ -1,14 +1,17 @@
Changelog Changelog
========= =========
### 1.3.0
* [New] Export to multiple files
* [New] Feature to export to given output file
#### 1.1.2 #### 1.1.2
* [Fixed] Timezone support for DayOne * [Fixed] Timezone support for DayOne
#### 1.1.1 #### 1.1.1
* [New] Export to multiple files
* [New] Feature to export to given output file
* [Fixed] Unicode and Python3 issues resolved. * [Fixed] Unicode and Python3 issues resolved.
### 1.1.0 ### 1.1.0

View file

@ -142,15 +142,20 @@ Prettyprints your entire journal.
### Export to files ### Export to files
jrnl --export md -o journal You can specify the output file of your exported journal using the `-o` argument:
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. jrnl --export md -o journal.md
In case you wish to export to multiple files, you can use a glob-able filename. 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 --export markdown -o %C-%m-%d_slug jrnl --export json -o my_entries/
It also works with `json` and `text` export types. 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
|- ...
Encryption Encryption
---------- ----------