Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一段代码,如下所述,它将两个文件作为附件发送。
mailx -s "$ms - $cdate $ctime" $ReportGroup < ${mailmsg} >/dev/null 2>&1
这里 mailmsg 包含一些文件。现在我正在尝试xyz.csv在上述命令中再发送一个文件。我该怎么做?
xyz.csv
提前致谢。
使用 uuuencode 函数之类的
(uuencode filename.format filename_to_be_dispalyed_in_attachment.format)|mailx-s "主题" ${mailmsg} >/dev/null 2>&1