Download attachments

$ himalaya attachment download [OPTIONS] <ID>...

Downloads all attachments found in message(s) matching the given envelope id(s) to your downloads directory.

Options

-f|--folder

The name of the folder.

--disable-cache

Disable any sort of cache.

The action depends on commands it apply on. For example, when listing envelopes using the IMAP backend, this flag will ensure that envelopes are fetched from the IMAP server rather than the synchronized local Maildir.

-a|--account

Override the default account.

An account name corresponds to an entry in the table at the root level of your TOML configuration file.

Settings

downloads-dir

The downloads directory.

It is mostly used for downloading messages attachments. Defaults to the system temporary directory (usually /tmp).

downloads-dir = "~/Downloads"