tldr/pages/linux/run-mailcap.md

26 lines
795 B
Markdown

# run-mailcap
> Run MailCap Programs.
> Run mailcap view, see, edit, compose, print - execute programs via entries in the mailcap file (or any of its aliases) will use the given action to process each mime-type/file.
> More information: <https://manned.org/run-mailcap>.
- Individual actions/programs on run-mailcap can be invoked with action flag:
`run-mailcap --action=ACTION [--option[=value]]`
- In simple language:
`run-mailcap --action=ACTION {{filename}}`
- Turn on extra information:
`run-mailcap --action=ACTION --debug {{filename}}`
- Ignore any "copiousoutput" directive and forward output to standard output:
`run-mailcap --action=ACTION --nopager {{filename}}`
- Display the found command without actually executing it:
`run-mailcap --action=ACTION --norun {{filename}}`