Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Text Search Script #341

Open
max-lopzzz opened this issue Oct 17, 2024 · 0 comments
Open

File Text Search Script #341

max-lopzzz opened this issue Oct 17, 2024 · 0 comments

Comments

@max-lopzzz
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant