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.
是否可以直接在“新邮件”对话框中通过命令行标志打开 mutt,并附加一个文件?我想让自己成为一个护林员快捷方式来打开 mutt 并将文件附加到邮件中。那可能吗?你有什么想法我能做到吗?
调用 mutt 时可以直接添加一个或多个附件文件。例如:
mutt toto@example.com -a /tmp/file1.txt -a /tmp/file2.png -s "subject line"
除非将消息正文输入标准输入(如cat message | mutt ...),否则编辑器将打开以输入消息正文。
cat message | mutt ...