Kindle Notes Backup

Bash script that automatically syncs Kindle notes to a git repo when Kindle is mounted on USB
Alternatives To Kindle Notes Backup
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Life Dashboard761
2 months ago14mitRust
Heads up Display for every day life
Kindle Weather87
5 years ago1mitPython
Change old kindle into weather station.
Kindle Display55
4 months ago8mitCSS
Kindle Status Display
Octokindle50
11 years ago1
Octocat Kindle Screens
Koa2_jailbreak45
5 years ago1otherHTML
Kindle KOA2 (Kindle Oasis, 9th generation, 2017) Jailbreak development
Kindle Utils38
9 years ago2gpl-2.0Python
Miscellaneous Utilities for dealing with a Kindle (parsing logs, etc)
Kindle_infoscreen25
3 years ago3mitJavaScript
Home-Assisstant Interface That Runs in the Kindle Browser.
Fread Installer U Boot18
4 years ago3otherC
Stripped down u-boot that only acts as a fastboot server for flashing i.mx508 Kindle devices
Kindlebutler16
9 years agogpl-3.0Python
One click Kindle USB/SSH uploader
Kindle Wallpaper Jp11
6 months agoPython
Alternatives To Kindle Notes Backup
Select To Compare


Alternative Project Comparisons
Readme

Kindle-Notes-Backup

Linux bash script that automatically syncs and commits Kindle notes to a git repo when Kindle is mounted on USB

I am far from a bash expert, so any advice on improvements would be welcome.

There are actually two scripts. One calls the other after a 1 minute delay, in case the device is not immediately available, or if you have a password you need to enter on the Kindle.

Requirements

This is tested only on Ubuntu 18.04 with GNOME Shell.

Requires at:
sudo apt install at

Example script syncs notes to a folder under Home/Dropbox called "kindle-notes-backup", so you'll have to create that folder, or change it to whatever you like. Make sure to initiate git in that directory, and you'll probably want something like this in your .gitignore file:

/script
*.sh
.gitignore
*~

Installation

  1. Clone this repo within your intended backup directory.

  2. In all three files, find and replace $USER with your username

  3. Determine the vendor and product ID for your Kindle device. Run:
    lsusb

In the output, you should see a line with something like this:

Bus 001 Device 016: ID 1949:0004 Lab126, Inc. Amazon Kindle 3/4/Paperwhite

In this case 1949 would be the Vendor ID, and 0004 would be the Product ID.

  1. Update the file 100-kindle-mount.rules with your own Vendor and Product IDs

  2. Copy the file into the system udev rules:
    cp 100-kindle-mount.rules /etc/udev/rules.d/

Now you should get a notification that the script is activated when you mount your Kindle, and a file called My Clippings.txt will appear in the target directory.

Popular Usb Projects
Popular Kindle Projects
Popular Hardware Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Shell
Bash
Backup
Usb
Bash Script
Kindle