Friday, October 7, 2011

Linux mail attachments

It's been years since I needed to do this and I didn't immediately find the switch I wanted on a quick google search. Naturally, I should have just looked at the man page in the first place. The proper way to attach a file with the mail command is:
mail -a file-to-attach

No comments: