2025-03-14 21:59:59 -06:00
# 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>.
2025-07-24 22:27:13 -06:00
- Invoke individual actions/programs on run-mailcap:
2025-03-14 21:59:59 -06:00
2025-07-24 22:27:13 -06:00
`run-mailcap --action={{view|cat|compose|composetyped|edit|print}} {{path/to/file}}`
2025-03-14 21:59:59 -06:00
- Turn on extra information:
2025-07-24 22:27:13 -06:00
`run-mailcap --action={{action}} --debug {{path/to/file}}`
2025-03-14 21:59:59 -06:00
- Ignore any "copiousoutput" directive and forward output to `stdout` :
2025-07-24 22:27:13 -06:00
`run-mailcap --action={{action}} --nopager {{path/to/file}}`
2025-03-14 21:59:59 -06:00
- Display the found command without actually executing it:
2025-07-24 22:27:13 -06:00
`run-mailcap --action={{action}} --norun {{path/to/file}}`