Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Multiple Text Document Searching

Hello... I am researching a large breached data set that is made up of multiple tar.gz files that when extracted are plain text documents with the data. The total data set is in excess of 30GB.

If I am looking for specific data (say an email address) what is the best way to search these files? They are all in one folder, so is there a script or other program I could run for this task? Apologies if this is a super dumb question!! 😬
(Jul 18, 2022 10:21 AM)dwaynehicks Wrote:  Hello... I am researching a large breached data set that is made up of multiple tar.gz files that when extracted are plain text documents with the data. The total data set is in excess of 30GB.

If I am looking for specific data (say an email address) what is the best way to search these files? They are all in one folder, so is there a script or other program I could run for this task? Apologies if this is a super dumb question!! 😬

You could have a script written for you that recursively opens each file in a directory, searches for text that matches a Regular Expression, saves the detected text elsewhere, and moves the processed file to a different directory.

By the end, you would have the original files untouched, and a list of emails (or whatever else you wanted to search for).


Possibly Related Threads...
Thread / Author Replies Views Last Post
by StanleyDec 4, 2025 02:05 AM 0 58 Dec 4, 2025 02:05 AM
Last Post: Stanley
by angelic444Sep 22, 2023 05:42 PM 1 111 Sep 22, 2023 05:42 PM
Last Post: DramaKing
by E-3pleBHAug 30, 2018 05:41 PM 1 204 Aug 30, 2018 05:41 PM
Last Post: Don Vito Corleone