MozillaZine

Searchibng Large TB Inbox file - which program?

User Help for Mozilla Thunderbird
eager to learn
 
Posts: 1015
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: 45904
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: 1348
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: 45904
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: 1015
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: 45904
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: 3497
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: 45904
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: 1015
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: 3497
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

Return to Thunderbird Support


Who is online

Users browsing this forum: Bing [Bot] and 2 guests