Skip to content

File Text Search Script #341

@max-lopzzz

Description

@max-lopzzz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions