2016-02-04 19:02:50 +02:00
# run-mailcap
> Run MailCap Programs.
2019-02-24 16:47:41 +01:00
> 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.
2022-03-22 03:07:48 +10:00
> More information: <https://manned.org/run-mailcap>.
2016-02-04 19:02:50 +02:00
2025-07-07 06:46:13 +03:00
- Invoke individual actions/programs on run-mailcap:
2016-02-04 19:02:50 +02:00
2025-07-07 06:46:13 +03:00
`run-mailcap --action={{view|cat|compose|composetyped|edit|print}} {{path/to/file}}`
2016-02-04 19:02:50 +02:00
- Turn on extra information:
2025-07-07 06:46:13 +03:00
`run-mailcap --action={{action}} --debug {{path/to/file}}`
2016-02-04 19:02:50 +02:00
2023-08-09 07:29:02 +02:00
- Ignore any "copiousoutput" directive and forward output to `stdout` :
2016-02-04 19:02:50 +02:00
2025-07-07 06:46:13 +03:00
`run-mailcap --action={{action}} --nopager {{path/to/file}}`
2016-02-04 19:02:50 +02:00
- Display the found command without actually executing it:
2025-07-07 06:46:13 +03:00
`run-mailcap --action={{action}} --norun {{path/to/file}}`