This is a command-line file search application written in C. The application searches for a specified filename or subdirectory in a directory and all its subdirectories and provides a list of matching files or subdirectories.
- Search for a specific file or subdirectory in a directory and its subdirectories.
- Display the paths of all matching files or subdirectories.
- Option to continue searching for more matching files or subdirectories.
- Cross-platform compatibility (Windows, Linux, and macOS).
-
Download the executable "FileSearch.exe" for Windows from the releases page.
-
Move the downloaded "FileSearch.exe" to the "System32" folder (
C:\Windows\System32
). -
Open a command prompt (Press
Win + R
, typecmd
, and press Enter). -
In the command prompt, type the following command to run the application for file search:
FileSearch.exe /FM "filename" [directory]
Or for subdirectory search:
FileSearch.exe /SDM "subdirectory" [directory]
Replace "filename" or "subdirectory" with the name of the file or subdirectory you want to search for, and optionally specify the starting directory for the search (default is the current directory). Oh, and if for whatever reason you are using this in WSL (Windows Subsystem for Linux, basically Linux in Windows, but by Microsoft), it'll still work. Follow the steps for Linux and it works the same! (That's how I tested and compiled the Linux release...)
-
Download the executable "file_search" for Linux and macOS from the releases page.
-
Open a terminal.
-
Navigate to the directory containing the downloaded "filesearch" executable.
-
In the terminal, type the following command to run the application for file search:
./filesearch /FM "filename" [directory]
Or for subdirectory search:
./filesearch /SDM "subdirectory" [directory]
Replace "filename" or "subdirectory" with the name of the file or subdirectory you want to search for, and optionally specify the starting directory for the search (default is the current directory).
This project welcomes contributions from macOS and Linux users who can help test and build versions of the application for these platforms. If you are interested in contributing, please follow the steps mentioned in the "Contribution" section of this README.
Contributors who help test and build versions for macOS and Linux will be credited for their contributions in this README and the project's GitHub repository.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or need further assistance, feel free to contact the project maintainers or open an issue in the GitHub repository.
We appreciate your support in making this application accessible and functional on multiple platforms! Your contributions will be acknowledged and will help improve the project for all users. Happy searching!