Skip to content

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

License

Notifications You must be signed in to change notification settings

devgiants/mbox-splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#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)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages