Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dmd
on Nov 18, 2016
|
parent
|
context
|
favorite
| on:
Gmvault: Backup and restore your Gmail account
Really? mbox, not maildir? That must be insanely huge.
cdubzzz
on Nov 18, 2016
[–]
I pulled mine recently and it was about 3.5GB with ~115k items (chat messages are included). Also pulled my wife's - 217k items @6GB.
dmd
on Nov 18, 2016
|
parent
[–]
Right. So, maildir format then, not mbox.
cdubzzz
on Nov 18, 2016
|
root
|
parent
[–]
It is actually mbox. I should have provided more detailed numbers - in my Takeout file, for example, there are 91,360 chat messages and only 23,407 email messages .
dmd
on Nov 18, 2016
|
root
|
parent
[–]
So there's 23407 email messages but only one file containing all of them?
cdubzzz
on Nov 18, 2016
|
root
|
parent
[–]
Yep! All messages are in a single mbox file and it's 3.2GB.
cdubz@professor-farnsworth ~/data $ du -h Mail-chris.mbox 3.2G Mail-chris.mbox
dmd
on Nov 18, 2016
|
root
|
parent
[–]
Wow. I stand corrected and that's awful. Yet another reason to use gmvault!
icebraining
on Nov 18, 2016
|
root
|
parent
[–]
Why it awful? As an archive, seems decent.
dmd
on Nov 18, 2016
|
root
|
parent
[–]
(1) inconsistent escaping rules (dealing with the literal string \nFrom)
(2) easy to corrupt
creeble
on Nov 18, 2016
|
root
|
parent
[–]
Worth noting that Google provides some Python sample code for parsing the file which works great.
cdubzzz
on Nov 18, 2016
|
root
|
parent
[–]
Interesting - could you point out where to find this? I poked around a bit but didn't come up with anything.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: