Nietzsche's Preposterous Moustache
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

mboxtract

1.0.1 • Public • Published

mboxtract

Extract attachments from (tremendously huge) mbox files.

Places all the attachments in a directory.

Use subdirs to put all attachments into a subdirectory based on the date of the mail they are extracted from.

This was originally created to process an 80.6GB file extracted from GMail.

Usage

Command Line

npm install -g mboxtract
mboxtract --subdirs -o attachments mymbox.mbox

NodeJS

var mboxtract = require("mboxtract");
mboxtract.extract({
    outputDir: "attachments",
    subDirs: true,
    mboxFile: "mymbox.mbox"
});

Keywords

none

install

npm i mboxtract

Downloadsweekly downloads

6

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar