devgiants / mbox-splitter

Allow to split mbox files (such as Google Apps export ones) in smaller files to allow POST import (in Roundcube for example)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#MBOX Splitter Here is a script to allow splitting large .mbox files, such as ones provided by Google Apps when exporting Apps accounts mailboxes

Configuration

Dead simple, just change constants in top of file. 2 so far :

  • MAX_FILE_SIZE : set the max file size for each of the split files (in bytes)
  • SPLITTED_FILES_PREFIX : set the prefix you want for splitted files naming.

Usage

Also dead simple :

> php mbox_splitter.php /link/to/big/mailbox.mbox /dest/folder/for/splitted

All log/echo is so far in current console.

About

Allow to split mbox files (such as Google Apps export ones) in smaller files to allow POST import (in Roundcube for example)

License:GNU General Public License v2.0


Languages

Language:PHP 100.0%