Skip to content

Instantly share code, notes, and snippets.

@GMadorell
Created March 6, 2014 20:44
Show Gist options
  • Select an option

  • Save GMadorell/9399274 to your computer and use it in GitHub Desktop.

Select an option

Save GMadorell/9399274 to your computer and use it in GitHub Desktop.
Send file via email to kindle.
#! /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