tldr/pages/linux/run-mailcap.md

25 lines
748 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 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}}`