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>.

Install

All systems
curl cmd.cat/run-mailcap.sh
Debian Debian
apt-get install mime-support
Ubuntu
apt-get install mime-support
image/svg+xml Kali Linux
apt-get install mime-support
Windows (WSL2)
sudo apt-get update sudo apt-get install mime-support
Raspbian
apt-get install mime-support

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

© tl;dr; authors and contributors