12-07-2011, 08:16 AM | #1 |
Member
Posts: 14
Karma: 10
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:
Code:
#!/bin/sh calibre-smtp -r smtp.gmail.com --port 587 --username myusername@gmail.com --password mypassword -vv --subject convert --attachment $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS myusername@gmail.com myusername@free.kindle.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, 01:02 AM | #2 | |
Groupie
Posts: 159
Karma: 20390
Join Date: Feb 2009
Device: none
|
Quote:
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. |
|
Advert | |
|
Tags |
linux, nautilus, script |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Script to fetch & send to Kindle (Mac/Linux) | clanger9 | Calibre | 5 | 07-10-2012 05:47 AM |
Linux script for images to Kindle Screensaver | soymicmic | Kindle Developer's Corner | 4 | 01-28-2011 11:20 AM |
iLiad Launch file from script | dedo | iRex Developer's Corner | 3 | 07-21-2009 04:32 AM |
Send to Device - Cybook - Linux | jethro10 | Calibre | 5 | 03-06-2009 03:30 PM |