Format 'Kindle/documents/My Clippings.txt' as JSON.
[{
"body": "in certain contexts at least, the transparency of open code should be a requirement.",
"created_at": 1462434461,
"title": "Code version 2.0",
"subtype": "Highlight",
"page": 143,
"authors": ["Lessig, Lawrence"],
"location_range": [2618, 2619]
}]
First install pipsi.
pipsi install .
my-clippings-to-json [OPTIONS] INPUT_PATH OUTPUT_PATH
Path to input file.
Path to output file.
File existing at OUTPUT_PATH
will be overwritten.
Show help page.
Start at line number of input file (default: 1).
INTEGER
should be the first line of the target clipping or the last line of the
preceding clipping. If INTEGER
falls in the middle of a clipping, that clipping
will be skipped.
my-clippings-to-json
writes the last line number to stdout
. Next time, start at
this line number.