Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryosama/mbox_spliter
Split large mbox files (from hunderbird) into smaller one, class by year of the message
https://github.com/ryosama/mbox_spliter
manager mbox perl thunderbird tool
Last synced: 23 days ago
JSON representation
Split large mbox files (from hunderbird) into smaller one, class by year of the message
- Host: GitHub
- URL: https://github.com/ryosama/mbox_spliter
- Owner: ryosama
- Created: 2015-06-24T07:38:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-10-13T12:28:01.000Z (about 3 years ago)
- Last Synced: 2024-10-30T12:47:11.157Z (2 months ago)
- Topics: manager, mbox, perl, thunderbird, tool
- Language: Perl
- Size: 10.7 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mbox_spliter
Split large mbox files (from _Mozilla Thunderbird_) into smaller one# Usage
Options :
* __--mbox__= (required) The mbox file you want to inspect
* __--dry-run__ Do only a simulation, do not write anything
* __--compact__ Compact the mbox file (delete messages marked as "deleted")
* __--delete-older-than__=_yyyy-mm-dd_ Delete messages older than this date
* __--split-by__=_year|mounth|week|day_ Split the mbox file into separate files
* __--usage__ or __--help__ Display this message
* __--quiet__ Don't print anything
# Examples
`perl mbox_spliter.pl --dry-run --mbox=c:/Thunderbird/Mail/Inbox` --compact --split-by=year# Statistics
At the end the script print some statitics about the job done
```-----------------Statistics-----------------
Read 1393216 lines in 1 seconds
Found 431 messages
Compact 409 messages (94.9%)
Keep 67 messages (15.5%)
Moved 364 messages (84.5%)
42 messages ( 9.7%) into /home/foo/.Mail/Local Folders/Sent.sbd/2009
106 messages (24.6%) into /home/foo/.Mail/Local Folders/Sent.sbd/2014
63 messages (14.6%) into /home/foo/.Mail/Local Folders/Sent.sbd/2010
119 messages (27.6%) into /home/foo/.Mail/Local Folders/Sent.sbd/2013
1 messages ( 0.2%) into /home/foo/.Mail/Local Folders/Sent.sbd/2012
33 messages ( 7.7%) into /home/foo/.Mail/Local Folders/Sent.sbd/2011
```