https://github.com/mrtazz/mae
mail attachment extractor
https://github.com/mrtazz/mae
Last synced: 5 months ago
JSON representation
mail attachment extractor
- Host: GitHub
- URL: https://github.com/mrtazz/mae
- Owner: mrtazz
- License: mit
- Created: 2024-01-10T12:19:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-31T20:10:02.000Z (over 2 years ago)
- Last Synced: 2025-04-06T14:43:37.545Z (about 1 year ago)
- Language: Rust
- Size: 61.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mae - mail attachment extractor
## Overview
`mae` is a command line tool to extract attachments from mails
## Usage
```
% mae export --maildir=test/fixtures/simple --output-dir=test/tmp_output
```
```
% man mae
Usage: mae [COMMAND]
Commands:
extract Extract all attachments from mails in given maildir
list List all available things
version Print version and exit
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
```
### With offlineimap
```
postsynchook = mae extract --maildir=/home/mrtazz/mails/INBOX --output-dir ~/Documents
```
## Installation
There are pre-built artifacts [on the releases page](https://github.com/mrtazz/mae/releases)
or on macOS it's available in homebrew:
```
brew tap mrtazz/oss
brew install mrtazz/oss/mae
```
## Thanks
Inspiration for this came from the fabulous [@till](https://github.com/till)