Is it possible to attach a file to an email from the CLi using mail?
I am having trouble finding this feature on the manpage.
emailgnu
Is it possible to attach a file to an email from the CLi using mail?
I am having trouble finding this feature on the manpage.
Best Answer
The best way to do this is generally to use mutt instead:
mutt is available on most unix-like platforms these days and usually comes installed in the base OS.
Your other option is to uuencode the file and send it through mail:
as explained here.