https://github.com/gofaone315/file-search
Script to quickly search files on your system
https://github.com/gofaone315/file-search
filesearch filesystem hacktoberfest python
Last synced: 11 months ago
JSON representation
Script to quickly search files on your system
- Host: GitHub
- URL: https://github.com/gofaone315/file-search
- Owner: Gofaone315
- License: mit
- Created: 2024-09-23T08:00:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-26T03:31:30.000Z (about 1 year ago)
- Last Synced: 2025-06-29T09:39:08.885Z (11 months ago)
- Topics: filesearch, filesystem, hacktoberfest, python
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
## Overview
This Python script allows users to search for files within a specified directory based on a query. It traverses the given directory and its subdirectories to locate files that match the user's search term.
### How to Use
1. Run the script.
2. Provide the path to the directory you want to search.
3. Enter the name (or part of the name) of the file you're looking for.
4. The script will display any matching files it finds.
### Example
```bash
Enter path to directory: /path/to/directory
Enter name of file you're looking for: example.txt
Searching for 'example.txt' in /path/to/directory
Found example.txt in /path/to/directory/subdirectory
```
### Requirements
- Python 3.x
- Standard Python libraries: `os`
---