Created
March 6, 2014 20:44
-
-
Save GMadorell/9399274 to your computer and use it in GitHub Desktop.
Send file via email to kindle.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| # Depends on package sendemail (apt-get install sendemail). | |
| # Add this script to /home/$USER/.local/share/nautilus/scripts/ | |
| # Remember giving the script permission to be run as an executable. | |
| sendemail -f EMAIL@gmail.com -t KINDLE_USERNAME@kindle.com -u "Convert" -m "Sent automatically by sendemail." -s smtp.gmail.com:587 -xu EMAIL@gmail.com -xp EMAILPASSWORD -a "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment