Skip to content

Find text in files, preview context of the results in GUI window, and integrate it into the system right-click menu.

License

Notifications You must be signed in to change notification settings

znsoooo/find-in-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Find in Files

"Find in Files" is a cross-platform Python program that provides a user-friendly GUI interface to search text within multiple files on your system.

Features

  • GUI Interface: "Find in Files" uses the wxPython library to create a cross-platform program.
  • RegEx Support: Use Python's regex library for advanced text searching capabilities.
  • Search in Files: Recursively search through folders and files, displaying all results and context in the window.
  • Search Setting: Support filename matching, support match case, whole word, and regular expression.
  • Command Line Support: Execute the command line with specified folders and files as arguments to start a new search.
  • Windows System Integration:
    • Context Menu: Integrate with context menus, right-click on a folder and search directly within it.
    • SendTo Menu: Integrate with the "Send To" menu, multi-select files and use "Send To" to quick access.

Installation

This program require python>=3.6 and wxpython>=4.0.0

Install requirement and run on Windows / OSX:

pip install wxpython
python FindInFiles.py

Install on Linux, you may need to find *.whl here and install:

https://extras.wxpython.org/wxPython4/extras/linux

Usage

  • Run without arguments to search the current working directory:

    $ cd /path/you/need
    $ python FindInFiles.py
  • Provide FILE or DIR paths as arguments to search in multiple locations:

    $ python FindInFiles.py DIR1 DIR2 .. FILE1 FILE2 ..

License

About

Find text in files, preview context of the results in GUI window, and integrate it into the system right-click menu.

Resources

License

Stars

Watchers

Forks

Packages

No packages published