tldr/pages/linux/run-mailcap.md

25 lines
748 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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.
- 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 STDOUT:
`run-mailcap --action=ACTION --nopager {{filename}}`
- Display the found command without actually executing it:
`run-mailcap --action=ACTION --norun {{filename}}`