tfind is a free Windows download for finding text strings in files, with wildcard file names and subdirectory recursion. It can also be used as a file finder by simply not specifying a search string. Up to 7 words or phrases can be searched for at the same time, and a match only occurs if they all occur within a spcified number of lines. They can be in any order.
tfind is a 32 bit command line program. It should run on any current version of Windows, including the 64 bit versions of Windows 7.
Enter tfind -h or just tfind to display the following help information. This is the only documentation that you will need.
tfind version 1.00
tfind [-c] [-h] [-r[max_depth]] [-sspan] [-v]
[[pattern1 [pattern2]] etc, [wildcard_filespec]
-c case sensitive, -r recurse directories. -h help, -v verbose.
-s set span (in lines) of region with up to 7 pattern matches.
examples:
tfind -r *.txt ; wildcard file finder with directory recursion.
tfind copyright man?.txt -r ; find "copyright", with wildcard filespec.
tfind "this little phrase" *.txt ; search phrases must be in quotes.
tfind 2010 copyright -s5 man*.doc ; find "copyright" and
"2010" occurring in either order in any region spanning 5 lines.
Default is -s10. Spans larger than the file size are OK.
Options can appear anywhere in the line, and '/' can be used instead of '-'.
Bracket a string with \" chars if it is misinterpreted as an option.
Wildcard search patterns are not accepted by this version
I do not impose any copyright restrictions on the source code. It
is an open source project. Send me a copy if you make worthwhile
improvements.
tfind.zip, executable and C source code. Version 1.01, 16 Dec 2010, 35 kb.
Gary Osborn
Anaheim, California
e-mail
site map
image processing software