1.1.2 • Published 5 years ago
mbox-attachment-extract v1.1.2
mbox-attachment-extract
This is a cli tool to extract attachments from .mbox files.
Installation
Install with npm: npm i mbox-attachment-extract -g
Usage
The command:
mbox-attachment-extract <<path-to-mbox-file>> <<path-to-extracted-files>>
Parameters:
--pattern, -p
Regex to filter attachments. Default: ''
--filenameAsSubject, -s
Create the attachment with the subject as the filename. Example: fromdomain_subject.zip
--help
Show the help message
Demo
Tests
Run the command: npm t