MozillaZine

Searchibng Large TB Inbox file - which program?

User Help for Mozilla Thunderbird
eager to learn
 
Posts: 1023
Joined: November 16th, 2007, 4:00 pm

Post Posted November 2nd, 2019, 3:38 pm

I have an old TB Inbox file which is 1, 953,590 KB.

I want to search it for a person’s name.

I’ve opened it in Word, WordPad, Notepad and Libre Office but all I get is the “Not responding” cycle.

What program can I use to open and search this large file?

Thank you.

tanstaafl
Moderator

User avatar
 
Posts: 46834
Joined: July 30th, 2003, 5:06 pm

Post Posted November 2nd, 2019, 3:44 pm

You need a text editor that can handle a 2GB file. See http://kb.mozillazine.org/Edit_large_mbox_files for some suggestions. You don't want to use a word processor as that will want to change the format of the file from a 7 bit ASCII flat plain text file to something else. Notepad++ is a safe choice.

tomdkat
 
Posts: 1358
Joined: October 14th, 2003, 7:53 am

Post Posted November 2nd, 2019, 5:16 pm

If possible, I would use "grep". It would have a command line interface but should search that file easily and in a matter of seconds. :) However, if a graphical application is desired, I would second Notepad++.

Peace...

tanstaafl
Moderator

User avatar
 
Posts: 46834
Joined: July 30th, 2003, 5:06 pm

Post Posted November 2nd, 2019, 6:38 pm

GrepWin from https://www.snapfiles.com/get/grepwin.html essentially adds a graphics interface to grep if you prefer to use a grep like tool rather than a text editor.

eager to learn
 
Posts: 1023
Joined: November 16th, 2007, 4:00 pm

Post Posted November 5th, 2019, 4:03 pm

I'm not sure why I would need a "graphics" editor? Why do others use a graphics editor? I visited https://www.snapfiles.com/get/grepwin.html and downloaded some 1.92 file there. Is that a 32 bit program? Can I run it on a flash drive? Thank you.

tanstaafl
Moderator

User avatar
 
Posts: 46834
Joined: July 30th, 2003, 5:06 pm

Post Posted November 5th, 2019, 6:18 pm

That is not a graphics editor. That is a version of grep that has a graphical user interface rather than a command line interface. Since it supports Vista through Windows 10 and Snapfiles usually explicitly tells you if a program is 64-bit, I assume its a 32-bit windows program. It says its "portable" so you should be able to run it from a flash rive.

FYI notepad++ is not a graphics editor either. It is a text editor with a graphical user interface. A graphics editor is something like paint or irfanview where you can see and edit a graphics image.

morat
 
Posts: 3934
Joined: February 3rd, 2009, 6:29 pm

Post Posted November 5th, 2019, 7:00 pm

I bet Notepad++ chokes trying to open a 2 GB file.

How to open a big file in Notepad++
http://superuser.com/questions/286106

Text editor to open big files
http://stackoverflow.com/questions/159521
http://stackoverflow.com/questions/18208524

tanstaafl
Moderator

User avatar
 
Posts: 46834
Joined: July 30th, 2003, 5:06 pm

Post Posted November 5th, 2019, 7:45 pm

I've used the 64bit version of Notepad++ with a 2GB file before. The main reason (despite its deficiencies) why I suggested Notepad++ was that it wasn't too different from what the OP had tried. I had considered HxD (it can handle up to 8 exabytes and doesn't need a lot of memory) but its based on a hex editor, which I thought would be an issue.

Glogg (a read-only editor that was mentioned in one of your stackoverflow links) didn't exist when I wrote that KB article. That would be a better choice if the OP doesn't want to use a grep or findstr type tool. In hindsight I should have taken a fresh look rather than rely upon that KB article.

https://www.andreafortuna.org/2017/04/0 ... n-windows/

eager to learn
 
Posts: 1023
Joined: November 16th, 2007, 4:00 pm

Post Posted November 18th, 2019, 12:36 pm

I downloaded Glogg and it was't helping.

I downloaded grepp and it only seem to search folders - not files. It will search a subfolder like C:\Stuff\PC but not my TB Inbox file.

I've tried Notepad++, Libre Writer, too.

Is there any Linux built-in Text Editors I could use with a Linux version I could burn on to a flash drive to use it live (as opposed to installed version)?

This is taking so much time and effort just to search a TB Inbox file for a person's name.

Thanks.

morat
 
Posts: 3934
Joined: February 3rd, 2009, 6:29 pm

Post Posted November 18th, 2019, 1:04 pm

Maybe you can split the file, then search the smaller files.

How to split a large file on Windows
http://superuser.com/questions/94083

eager to learn
 
Posts: 1023
Joined: November 16th, 2007, 4:00 pm

Post Posted December 16th, 2019, 3:57 pm

Not sure how to split.

Is there a way to open TB offline and then open the old TB Inbox file saved on my hard drive?

No text editor has worked so far.

Morat is right Notepad++ did choke on it.

What file format is my old TB Inbox file saved as?

I look under Windows Explorer in W7 and it just lists File as file type (not ASCII, .odt. .docs, etc.

morat
 
Posts: 3934
Joined: February 3rd, 2009, 6:29 pm

Post Posted December 16th, 2019, 4:25 pm

I use the split.exe executable in GnuWin32 CoreUtils.

http://superuser.com/a/731145

The INBOX file is a mbox file. (a type of plain text file)

http://en.wikipedia.org/wiki/Mbox

eager to learn
 
Posts: 1023
Joined: November 16th, 2007, 4:00 pm

Post Posted December 30th, 2019, 4:16 pm

Hi,

Can anyone please share the step-by-step directions on how to open an old TB Inbox file in TB installed on my desktop W7? I have 1 GB RAM and about 40 GB hard drive free space. I have the file saved on a flash drive. I want to search that file for a person's name. None of the text editors shared here worked. Splitting a TB file seems daunting and labor intensive. It's a 1.9 GB file. I think only TB can open this large TB file. Thanks.

DanRaisch
Moderator

User avatar
 
Posts: 123568
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted December 30th, 2019, 7:10 pm


tanstaafl
Moderator

User avatar
 
Posts: 46834
Joined: July 30th, 2003, 5:06 pm

Post Posted December 30th, 2019, 7:28 pm

What was the problem with gloog? I found it useful enough that I've kept my copy installed.

The free version of the UltraEdit program at https://www.snapfiles.com/get/ultraedit.html supports editing 4GB files. https://www.ultraedit.com/support/tutor ... dling.html gives some practical configuration advice (faster performance, less memory usage etc.) when using UltraEdit to edit large files.

"What file format is my old TB Inbox file saved as?"
It is using the mbox format. That means its a ordinary plain text file with no 8 bit characters in it.

Return to Thunderbird Support


Who is online

Users browsing this forum: No registered users and 8 guests