Skip to content

Extract attachments from (tremendously huge) mbox files

License

Notifications You must be signed in to change notification settings

ricksbrown/mboxtract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
});

About

Extract attachments from (tremendously huge) mbox files

Resources

License

Stars

Watchers

Forks

Packages

No packages published