Looking for a SEARCH utility that looks inside files for ALL HITS

dsperber

New member
Guru
Gold Member
VIP
Local time
2:35 AM
Messages
2,752
Location
Marina Del Rey, CA
I have a need to search all of the files in a folder, looking for ALL OCCURRENCES of the search string. I'm not talking about file names, I'm talking about looking inside the files (which are actually just plain text files).

I tried "Search My Files" but it seems to stop searching a given file when it encounters the first hit. Unless there is a setting somewhere that can tell it to keep searching I don't see it. But if there is and I've just missed it, well I already do have it installed so that would be great.

Otherwise, is there another highly regarded utility that is easy to use and intuitive, which can get me what I want?

Simple objective: I want to "count" the number of occurrences of a given string inside of ALL the plain text files in the parent folder (including drilling down through sub-folders). That's it. Anything more that is returned, that would be gravy.

The reason for this is that I have three different versions of a "database" (FreeDB) that contains 3.9 million individual files in 11 sub-folders in its standard UNIX form (with one file per DISCID). There 11 sub-folders but in an alternative "Windows-friendly form" that is also acceptable, and that consolidates the files into the same such that one new file holds many DISCID's according to an algorithm. This greatly reduces the number of files in the database (down to 2805, from 3.9 million) although the data itself is identical.

In other words the number of DISCID occurrences in both forms of the database is identical in that we're still talking about 3.9 million CD's. But in once case it is represented by 3.9 million files, and in the other it is represented by 2805 files. Because of the file system overhead, the UNIX version takes 11GB on disk, while the Windows version takes 3GB.

I have a third super-compressed version which also purports to have the same 3.9 million DISCID's inside it, but only uses 131MB of space. Seems impossible, but there were no error messages produced during the conversion.

So I would like to SEARCH all three versions of the database (again, just plain text files) to count the number of DISCID string occurrences. All three should have the identical 3.9 million hits.

That's my goal. Any suggestions?
 

My Computer My Computer

At a glance

Windows 7 Pro x64 (1), Win7 Pro X64 (2)i5-3350p 3.1Ghz/6MB-cache (1); E8400 3.0Ghz/6...8GB PC3-12800 DDR3 (1); 4GB PC3-10600 DDR3 (2)ATI HD7750 (1), (see TV cards); ATI R7 250 (2)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home-built, two systems (1) and (2)
OS
Windows 7 Pro x64 (1), Win7 Pro X64 (2)
CPU
i5-3350p 3.1Ghz/6MB-cache (1); E8400 3.0Ghz/6MB-cache (2)
Motherboard
ASUS P8Z77-V Pro (1); ASUS P5Q3 (2)
Memory
8GB PC3-12800 DDR3 (1); 4GB PC3-10600 DDR3 (2)
Graphics Card(s)
ATI HD7750 (1), (see TV cards); ATI R7 250 (2)
Sound Card
Realtek ALC892 HD Audio (1); Realtek ALC1200 HD Audio (2)
Monitor(s) Displays
Eizo HD2441W LCD, Eizo S2433W (1); Eizo 24" S2433W (2)
Screen Resolution
1920x1200, 1920x1200 (1); 1920x1200 (2)
Hard Drives
(1) 1TB SATA-II (7200RPM), 2x2TB SATA-III (7200RPM), 250GB SATA-III (10000RPM) for OS; 2x2TB external USB 3.0

(2) 320GB SATA-II (7200RPM), 750GB SATA-II (7200RPM), 150GB SATA-II (10000RPM) for OS; 2TB external USB 3.0
PSU
Nesteq ECS-6001 600W (1); Nesteq ECS-5001 500W (2)
Case
Acousti-Case 360 (1) and (2)
Cooling
Noctua NH-U12P SE2 for CPU, 2x120mm case fans (1) and (2)
Keyboard
IBM PS/2 (1) and (2)
Mouse
Logitech MX Revolution wireless (1); Microsoft wired (2)
Internet Speed
100mbps down / 10mbps up
Antivirus
Microsoft Security Essentials; Malwarebyte Anti-Malware Pro
Browser
Firefox
Other Info
Ceton InfiniTV 4-tuner cablecard-enabled TV card as well as Hauppauge HVR-2250 OTA/ATSC 2-tuner TV card in (1), running under Win7 WMC
In SearchMyFiles Search Options there is an option called Stop searching after finding .... XXX Hits, where XXX is a number you specify. Just maybe if you increased this number, the search would continue for XXX number of hits?? "Stop searching after finding ...." is located at the bottom of the Search Options Window.
 

My Computer My Computer

At a glance

Windows 7 x64, Vista x64, 8.1 smartphoneIntel E8400 65W 64-bitDDR2 2 x 2GB, 1GB x 2XFX Radeon HD5750
Computer type
PC/Desktop
OS
Windows 7 x64, Vista x64, 8.1 smartphone
CPU
Intel E8400 65W 64-bit
Motherboard
Gigabyte EP45-UD3LR
Memory
DDR2 2 x 2GB, 1GB x 2
Graphics Card(s)
XFX Radeon HD5750
Sound Card
AMD High Definition Audio; Realtek High Definition Audio
Monitor(s) Displays
iiyama prolite X2377HDS
Screen Resolution
1920 x 1080
Hard Drives
500GB 7200 rpm Seagate ST3500413AS 16MB, 500GB 5400 rpm Toshiba MQ02ABF050H 32MB, 200GB 7200 rpm Seagate ST3200820AS 8MB, 2TB 7200 rpm Western Digital WD20EZRX 64MB
PSU
Enermax Liberty Modular
Case
Antec P193 Midi Tower
Keyboard
Mionix ZIBAL 60
Mouse
Razer USB 2.0 Diamondback Mouse or Huion Graphics Tablet
Browser
Internet Explorer, Lunascape, Firefox, Opera, Avast Safezone
I use nothing but FreeFileSeek for this sort of stuff. Download • FileSeek by Binary Fortress Software

You may have an interest in Notepad ++ for certain things as well and FreeFileSeek can be configured to use Notepad ++ as a file handler.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
I use,
SwiftSearch from SourceForge
&
Everything from VoidTools.
Both have portable versions.
 

My Computer My Computer

At a glance

Win7 H.Prem. 32bit+SP1
Computer Manufacturer/Model Number
Look in my Signature.
OS
Win7 H.Prem. 32bit+SP1
In SearchMyFiles Search Options there is an option called Stop searching after finding .... XXX Hits, where XXX is a number you specify. Just maybe if you increased this number, the search would continue for XXX number of hits?? "Stop searching after finding ...." is located at the bottom of the Search Options Window.
I'd already tried SearchMyFiles, which I assumed would do exactly what I wanted, before posting this thread here. It hadn't performed as I was hoping.

And I configured it for a "standard search" while also UN-CHECKING the "stop the search after finding..." box. I interpret that checkbox to mean if the total number of hits exceeds that number then stop the search process completely, not to limit the number of hits while scanning an individual file. That's kind of implied by the default value of 10,000.

In any case, all that was produced was as I described. The search through a given file stopped immediately when the first occurrence of the search argument was encountered. It did NOT continue on in that file looking for additional occurrences.
 

My Computer My Computer

At a glance

Windows 7 Pro x64 (1), Win7 Pro X64 (2)i5-3350p 3.1Ghz/6MB-cache (1); E8400 3.0Ghz/6...8GB PC3-12800 DDR3 (1); 4GB PC3-10600 DDR3 (2)ATI HD7750 (1), (see TV cards); ATI R7 250 (2)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home-built, two systems (1) and (2)
OS
Windows 7 Pro x64 (1), Win7 Pro X64 (2)
CPU
i5-3350p 3.1Ghz/6MB-cache (1); E8400 3.0Ghz/6MB-cache (2)
Motherboard
ASUS P8Z77-V Pro (1); ASUS P5Q3 (2)
Memory
8GB PC3-12800 DDR3 (1); 4GB PC3-10600 DDR3 (2)
Graphics Card(s)
ATI HD7750 (1), (see TV cards); ATI R7 250 (2)
Sound Card
Realtek ALC892 HD Audio (1); Realtek ALC1200 HD Audio (2)
Monitor(s) Displays
Eizo HD2441W LCD, Eizo S2433W (1); Eizo 24" S2433W (2)
Screen Resolution
1920x1200, 1920x1200 (1); 1920x1200 (2)
Hard Drives
(1) 1TB SATA-II (7200RPM), 2x2TB SATA-III (7200RPM), 250GB SATA-III (10000RPM) for OS; 2x2TB external USB 3.0

(2) 320GB SATA-II (7200RPM), 750GB SATA-II (7200RPM), 150GB SATA-II (10000RPM) for OS; 2TB external USB 3.0
PSU
Nesteq ECS-6001 600W (1); Nesteq ECS-5001 500W (2)
Case
Acousti-Case 360 (1) and (2)
Cooling
Noctua NH-U12P SE2 for CPU, 2x120mm case fans (1) and (2)
Keyboard
IBM PS/2 (1) and (2)
Mouse
Logitech MX Revolution wireless (1); Microsoft wired (2)
Internet Speed
100mbps down / 10mbps up
Antivirus
Microsoft Security Essentials; Malwarebyte Anti-Malware Pro
Browser
Firefox
Other Info
Ceton InfiniTV 4-tuner cablecard-enabled TV card as well as Hauppauge HVR-2250 OTA/ATSC 2-tuner TV card in (1), running under Win7 WMC
I use,
SwiftSearch from SourceForge
&
Everything from VoidTools.
Both have portable versions.
I already use Everything as my standard filename search tool.

But as far as I know, it doesn't search inside of files for CONTENT. Am I missing that feature?

I don't know about SwiftSearch but I will look at it.
 

My Computer My Computer

At a glance

Windows 7 Pro x64 (1), Win7 Pro X64 (2)i5-3350p 3.1Ghz/6MB-cache (1); E8400 3.0Ghz/6...8GB PC3-12800 DDR3 (1); 4GB PC3-10600 DDR3 (2)ATI HD7750 (1), (see TV cards); ATI R7 250 (2)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home-built, two systems (1) and (2)
OS
Windows 7 Pro x64 (1), Win7 Pro X64 (2)
CPU
i5-3350p 3.1Ghz/6MB-cache (1); E8400 3.0Ghz/6MB-cache (2)
Motherboard
ASUS P8Z77-V Pro (1); ASUS P5Q3 (2)
Memory
8GB PC3-12800 DDR3 (1); 4GB PC3-10600 DDR3 (2)
Graphics Card(s)
ATI HD7750 (1), (see TV cards); ATI R7 250 (2)
Sound Card
Realtek ALC892 HD Audio (1); Realtek ALC1200 HD Audio (2)
Monitor(s) Displays
Eizo HD2441W LCD, Eizo S2433W (1); Eizo 24" S2433W (2)
Screen Resolution
1920x1200, 1920x1200 (1); 1920x1200 (2)
Hard Drives
(1) 1TB SATA-II (7200RPM), 2x2TB SATA-III (7200RPM), 250GB SATA-III (10000RPM) for OS; 2x2TB external USB 3.0

(2) 320GB SATA-II (7200RPM), 750GB SATA-II (7200RPM), 150GB SATA-II (10000RPM) for OS; 2TB external USB 3.0
PSU
Nesteq ECS-6001 600W (1); Nesteq ECS-5001 500W (2)
Case
Acousti-Case 360 (1) and (2)
Cooling
Noctua NH-U12P SE2 for CPU, 2x120mm case fans (1) and (2)
Keyboard
IBM PS/2 (1) and (2)
Mouse
Logitech MX Revolution wireless (1); Microsoft wired (2)
Internet Speed
100mbps down / 10mbps up
Antivirus
Microsoft Security Essentials; Malwarebyte Anti-Malware Pro
Browser
Firefox
Other Info
Ceton InfiniTV 4-tuner cablecard-enabled TV card as well as Hauppauge HVR-2250 OTA/ATSC 2-tuner TV card in (1), running under Win7 WMC

My Computer My Computer

At a glance

Windows 7 Pro x64 (1), Win7 Pro X64 (2)i5-3350p 3.1Ghz/6MB-cache (1); E8400 3.0Ghz/6...8GB PC3-12800 DDR3 (1); 4GB PC3-10600 DDR3 (2)ATI HD7750 (1), (see TV cards); ATI R7 250 (2)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home-built, two systems (1) and (2)
OS
Windows 7 Pro x64 (1), Win7 Pro X64 (2)
CPU
i5-3350p 3.1Ghz/6MB-cache (1); E8400 3.0Ghz/6MB-cache (2)
Motherboard
ASUS P8Z77-V Pro (1); ASUS P5Q3 (2)
Memory
8GB PC3-12800 DDR3 (1); 4GB PC3-10600 DDR3 (2)
Graphics Card(s)
ATI HD7750 (1), (see TV cards); ATI R7 250 (2)
Sound Card
Realtek ALC892 HD Audio (1); Realtek ALC1200 HD Audio (2)
Monitor(s) Displays
Eizo HD2441W LCD, Eizo S2433W (1); Eizo 24" S2433W (2)
Screen Resolution
1920x1200, 1920x1200 (1); 1920x1200 (2)
Hard Drives
(1) 1TB SATA-II (7200RPM), 2x2TB SATA-III (7200RPM), 250GB SATA-III (10000RPM) for OS; 2x2TB external USB 3.0

(2) 320GB SATA-II (7200RPM), 750GB SATA-II (7200RPM), 150GB SATA-II (10000RPM) for OS; 2TB external USB 3.0
PSU
Nesteq ECS-6001 600W (1); Nesteq ECS-5001 500W (2)
Case
Acousti-Case 360 (1) and (2)
Cooling
Noctua NH-U12P SE2 for CPU, 2x120mm case fans (1) and (2)
Keyboard
IBM PS/2 (1) and (2)
Mouse
Logitech MX Revolution wireless (1); Microsoft wired (2)
Internet Speed
100mbps down / 10mbps up
Antivirus
Microsoft Security Essentials; Malwarebyte Anti-Malware Pro
Browser
Firefox
Other Info
Ceton InfiniTV 4-tuner cablecard-enabled TV card as well as Hauppauge HVR-2250 OTA/ATSC 2-tuner TV card in (1), running under Win7 WMC
Just had an opportunity to discover that the Search dialog in Notepad++ can "find all in current document". That is something I hadn't noticed before but can certainly make use of in the future.

But it's not really what I was looking for, to do that for all files in the folder, not just while editing a single file.

Anyway, I actually am making use of that right now for another matter. Very useful.
 

My Computer My Computer

At a glance

Windows 7 Pro x64 (1), Win7 Pro X64 (2)i5-3350p 3.1Ghz/6MB-cache (1); E8400 3.0Ghz/6...8GB PC3-12800 DDR3 (1); 4GB PC3-10600 DDR3 (2)ATI HD7750 (1), (see TV cards); ATI R7 250 (2)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home-built, two systems (1) and (2)
OS
Windows 7 Pro x64 (1), Win7 Pro X64 (2)
CPU
i5-3350p 3.1Ghz/6MB-cache (1); E8400 3.0Ghz/6MB-cache (2)
Motherboard
ASUS P8Z77-V Pro (1); ASUS P5Q3 (2)
Memory
8GB PC3-12800 DDR3 (1); 4GB PC3-10600 DDR3 (2)
Graphics Card(s)
ATI HD7750 (1), (see TV cards); ATI R7 250 (2)
Sound Card
Realtek ALC892 HD Audio (1); Realtek ALC1200 HD Audio (2)
Monitor(s) Displays
Eizo HD2441W LCD, Eizo S2433W (1); Eizo 24" S2433W (2)
Screen Resolution
1920x1200, 1920x1200 (1); 1920x1200 (2)
Hard Drives
(1) 1TB SATA-II (7200RPM), 2x2TB SATA-III (7200RPM), 250GB SATA-III (10000RPM) for OS; 2x2TB external USB 3.0

(2) 320GB SATA-II (7200RPM), 750GB SATA-II (7200RPM), 150GB SATA-II (10000RPM) for OS; 2TB external USB 3.0
PSU
Nesteq ECS-6001 600W (1); Nesteq ECS-5001 500W (2)
Case
Acousti-Case 360 (1) and (2)
Cooling
Noctua NH-U12P SE2 for CPU, 2x120mm case fans (1) and (2)
Keyboard
IBM PS/2 (1) and (2)
Mouse
Logitech MX Revolution wireless (1); Microsoft wired (2)
Internet Speed
100mbps down / 10mbps up
Antivirus
Microsoft Security Essentials; Malwarebyte Anti-Malware Pro
Browser
Firefox
Other Info
Ceton InfiniTV 4-tuner cablecard-enabled TV card as well as Hauppauge HVR-2250 OTA/ATSC 2-tuner TV card in (1), running under Win7 WMC
Back
Top