Skip to content

Files

Latest commit

 

History

History

File Search

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

File Search

This Python script allows you to search for files with a specific extension in a directory. It recursively searches through all subdirectories of the specified directory and returns a list of files that match the provided file extension.

Setup instructions

  1. Clone the repository or download the file_search.py file.

  2. Open a terminal or command prompt and navigate to the directory where file_search.py is located.

  3. Run the script by executing the following command: python File_Search.py

  4. Follow the prompts to enter the directory to search and the file extension to search for.

Output

The script will search for files with the specified extension and display their paths. If no files are found, it will display a message indicating that no files were found.

Author(s)

Srujana