Friday, May 08, 2009

If you're not careful you'll learn something before it's done.

What did I learn today? How to send attachments using unix mail.


uuencode test.zip test.zip > attachment.txt
cat message.txt attachment.txt > combined.txt
mail -s "subject" you@domain.com < attachment.txt


Details here



I cannot believe I've been doing 'unix' systems in one form or another since 1998 and have never had to do this until now. Amazing.



blog comments powered by Disqus