Skip to content

Node.js cli tool to extract attachments from .mbox files

License

Notifications You must be signed in to change notification settings

andre000/mbox-attachment-extract

Repository files navigation

mbox-attachment-extract

buddy pipeline CodeFactor david-dm

This is a cli tool to extract attachments from .mbox files.

printscreen

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

demo

Tests

Run the command: npm t

Packages

About

Node.js cli tool to extract attachments from .mbox files

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published