View Single Post
Old 12-12-2010, 07:08 AM   #1
janvanmaar
Addict
janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.
 
Posts: 218
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
Post [GUI Plugin] Sending (syncing) by SSH/RSH

It is a rather specific plugin but perhaps it will be useful for someone.
The plugin enables sending of books from Calibre using SSH (or RSH) protocol. It requires rsync or similar utility to be installed in the system. It can be used to send books from Calibre wirelessly to your ereader or another computer with SSH server running (on Kindle, this can be achieved by usbNetwork hack; most other readers run Linux too, so it should be possible to install SSH server). The plugin enables customization of the rsync (or equivalent) utility path, remote host details, formats of books to be sent + a Kindle specific option of refreshing the book list after sending. The advantage of rsync is that it only sends the differences between the Calibre book and the book existing on the remote host, so if the book already exists or if only metadata have changed, there will be (almost) no transfer.

Special Notes:
The implementation is simple, so it has a few shortcomings currently: Calibre cannot be used while books are being sent by SSH; the button is not integrated into the "Send to device" group; applicability on Windows is questionable and not tested under Windows at all; only one remote host at a time can be specified at the moment; only SSH login with preshared keys is currently supported. Some of the shortcomings could possibly be sorted out on request - I did not want to spend too much time implementing without knowing that somebody would actually use it.

Installation Steps:
  • First follow the general instructions from kiwidude mentioned here: download the zip file, install the plugin, add the 'Send by RSYNC' button by customizing the toolbar.
  • Finally, customize the plugin in Preferences->Plugins->User Interface Actions Plugin->Send by RSYNC. A Calibre restart seems to be necessary for any Calibre plugin customization to take effect.
Attached Files
File Type: zip send_by_rsync_plugin_1.0.2.zip (2.2 KB, 3610 views)

Last edited by janvanmaar; 09-15-2014 at 12:29 PM. Reason: Update to version 1.0.2 (a few small changes/fixes)
janvanmaar is offline   Reply With Quote