Skip to content

Instantly share code, notes, and snippets.

@nnutter
Created August 5, 2012 01:43
Show Gist options
  • Save nnutter/3261057 to your computer and use it in GitHub Desktop.
Save nnutter/3261057 to your computer and use it in GitHub Desktop.
Send to Kindle - Service
for PATH in "$@"; do
FILE="$(basename "$path")"
SUBJECT="${FILE%.*}"
/usr/local/bin/mutt -a "$PATH" -s "$SUBJECT" -- $KINDLE_EMAIL < /dev/null
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment