Forrest logo
back to the run-mailcap tool

compose:tldr:d9191

compose: With `run-mailcap`.
$ run-mailcap --action=compose ${filename}
try on your machine

The command "run-mailcap" is used to open the specified file using the respective handler or application defined in the mailcap database.

In this particular command: "run-mailcap --action=compose ${filename}," it performs the action of composing a new email using the contents of the specified file.

The "--action=compose" flag is used to specify the action to be performed, which in this case is composing a new email.

The "${filename}" is a placeholder that represents the actual filename. It is typically replaced with the name of the file you want to open or perform an action on.

Overall, this command allows you to open a file and start composing a new email with its contents.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the run-mailcap tool