Python-Scripts icon indicating copy to clipboard operation
Python-Scripts copied to clipboard

File Text Search Script

Open max-lopzzz opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. I frequently need to locate specific keywords or phrases within text-based files spread across multiple directories, which is time-consuming without an effective search tool.

Describe the solution you'd like I would like to contribute a FileTextSearch.py script that enables users to search for a keyword or phrase within .txt, .docx, and .pdf files in a specified directory. The script should recursively search through subdirectories and report back any files containing the keyword.

Describe alternatives you've considered I considered using text search tools or searching manually, but these methods often overlook subdirectories or require significant effort to verify results.

Additional context The script takes user input for the directory and keyword, searches through all specified file types, and prints out the names of files where the keyword is found. This functionality will significantly improve efficiency for anyone needing to find specific information quickly.

max-lopzzz avatar Oct 17 '24 00:10 max-lopzzz

I would like to accept this and work on it.

SanjayPoptani avatar Mar 20 '25 01:03 SanjayPoptani