|12-07-2011, 09:16 AM||#1|
Join Date: Jun 2010
Device: kindle 3
linux nautilus script: send file to kindle
I just wrote an extremely basic script to email books to my kindle from the nautilus file manager, using my gmail account. It would be nice if someone else could improve on it, but in the meantime, for whoever might be interested:
#!/bin/sh calibre-smtp -r smtp.gmail.com --port 587 --username email@example.com --password mypassword -vv --subject convert --attachment $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS firstname.lastname@example.org email@example.com "email"
If you still want to use it, you will need to replace every instance of myusername and mypassword with your coordinates, and save the code to a file named "Send to Kindle" inside /home/user/.gnome2/nautilus-scripts . Then, make sure you make the file executable. Obviously, you must have calibre installed.
|12-22-2011, 02:02 AM||#2|
Join Date: Feb 2009
Interesting. I don't know if I would use it a lot, especially as I don't like keeping usernames and passwords I use on something that can be seen by all, but I am a nautilus-script nut, so it definitely seems like a pretty cool idea. Thanks.
|linux, nautilus, script|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Script to fetch & send to Kindle (Mac/Linux)||clanger9||Calibre||5||07-10-2012 06:47 AM|
|Linux script for images to Kindle Screensaver||soymicmic||Kindle Developer's Corner||4||01-28-2011 12:20 PM|
|iLiad Launch file from script||dedo||iRex Developer's Corner||3||07-21-2009 05:32 AM|
|Send to Device - Cybook - Linux||jethro10||Calibre||5||03-06-2009 04:30 PM|