Send File From Linux Command Line to Thunderbird

technology.pngA little script/tweak/tip for you folks who use Tux Commander (or any other light file manager) in Linux:

One thing that I sorely missed was the ability to send files via e-mail from the file manager or command line. And, of course, I finally got around to realizing there probably is a way to do that…

So to save you some time, I’ve got a BASH script for sending attachments via e-mail. It tests to make sure it’s looking at a file (and tests for absolute vs. relative paths). If you want to make the script a lot bigger and more complex, it’d be easy to do so (and have it ask for addressee, etc, etc), but it does one thing, and does it just fine for me. The command line syntax was ganked from http://www.kbrandt.com/2008/05/quick-tip-tunderbird-email-from-command.html; my main contribution is adding in some error trapping.

Popular posts:

  • Media Resource Center: Lies or Incompetence, They're Still Going to Get People Killed.
  • The difference between boundaries and rules
  • Minecraft Bug: Despawning Named Zombie Villagers
  • Organizing and Tiling Your Windows on #Openbox Using Only... Openbox
  • If there's one Nazi (or a racist) at the table...
  • Odds and Ends: Optimizing SSHFS, moving files into subdirectories, and getting placeholder images
  • MediaHuman Lyrics Finder and Fontasia: Two Programs That Work Well

Recent Posts