Send File From Linux Command Line to Thunderbird1 min read

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 https://www.kbrandt.com/2008/05/quick-tip-tunderbird-email-from-command.html; my main contribution is adding in some error trapping.

blankWas this post helpful or insightful? Buy me a coffee here or here and share this post with others!

Popular posts:

  • The difference between boundaries and rules
  • Review: MAFA - MPD client for Android
  • If there's one Nazi (or a racist) at the table...
  • Weekend Project: Whole House and Streaming Audio for Free with MPD
  • Organizing and Tiling Your Windows on #Openbox Using Only... Openbox
  • Getting the Weather And Forecast with A Bash Script

Recent Posts