readclip/README.md

27 lines
1.1 KiB
Markdown
Raw Normal View History

2021-12-10 09:37:31 +00:00
# readclip
2021-12-10 10:31:34 +00:00
readclip reads the My\ Clippings.txt from your kindle device and exports it to Markdown.
2021-12-16 15:49:51 +00:00
You will need to have python3 with argparse module (should be by default) installed.
2021-12-10 10:31:34 +00:00
## Useage
Copy the `My\ Clippings.txt` from your Kindle device. Usually all your highlighting and notes are
exported with the marked text in that plain text file.
*Hint:* If you copy a pdf directly on your device, the Clippings-file gets empty. You'll need to
send the pdf via email to your kindle. I really don't know why or how you can do it without amazon.
If someone knows how to do that, please tell me.
python readClip [-b Booktitle] [-i path/to/Clippings.txt]
2021-12-10 10:31:34 +00:00
You can use the bash to save the output to a file: python readClip > output.md
### Booktitle
You can search for one booktitle with -b or just print all books. It is not neccessary to include
the whole title, it is enough to find a matching with the title. If you have a lot of similar
titles, you may want to specify the search. Otherwise just the first finding will get printed.
### Clippings
Per default the script searches for `My\ Clippings.txt` in the working directory.
2021-12-10 10:31:34 +00:00