mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 08:41:35 +00:00
31 lines
880 B
Plaintext
31 lines
880 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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 `stdout`:
|
|
|
|
`run-mailcap --action=ACTION --nopager {{filename}}`
|
|
|
|
- Display the found command without actually executing it:
|
|
|
|
`run-mailcap --action=ACTION --norun {{filename}}`
|