https://github.com/znsoooo/find-in-files
Find text in files, preview context of the results in GUI window, and integrate it into the system right-click menu.
https://github.com/znsoooo/find-in-files
Last synced: 8 months ago
JSON representation
Find text in files, preview context of the results in GUI window, and integrate it into the system right-click menu.
- Host: GitHub
- URL: https://github.com/znsoooo/find-in-files
- Owner: znsoooo
- License: mit
- Created: 2023-08-11T23:20:14.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-09-14T01:00:04.000Z (9 months ago)
- Last Synced: 2025-09-14T03:06:12.173Z (9 months ago)
- Language: Python
- Size: 115 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
It supports recursive search for files in folders, supports several search setting modes, integrates with Windows contexts and SendTo menus, and allows executing new searches from the command line.
Download latest release version:
## 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:
```bash
pip install wxpython
python FindInFiles.py
```
Install on Linux, you may need to find `*.whl` here and install:
## Usage
- Run without arguments to search the current working directory:
```bash
$ cd /path/you/need
$ python FindInFiles.py
```
- Provide FILE or DIR paths as arguments to search in multiple locations:
```bash
$ python FindInFiles.py DIR1 DIR2 .. FILE1 FILE2 ..
```
## License
- __Author:__ Shixian Li
- __QQ:__ 11313213
- __Email:__
- __GitHub:__
- __License:__ MIT License. Copyright (c) 2023-2025 Shixian Li (znsoooo). All Rights Reserved.