Skip to content

Conversation

@debojit11
Copy link
Contributor

PR Title

PR for File_search script

Summary

This PR introduces a script that searches a specified folder and its subdirectories, listing all file paths and unique file extensions present in the folder. The script utilizes the pathlib library to ensure cross-platform compatibility for file path handling.

Description

The file_search.py script performs the following tasks:

Searches through a given folder and its subdirectories for all types of files.
Outputs a list of the paths for each file found.
Generates a list of all unique file extensions present in the directory structure, ignoring case differences.

The changes are as follows:

  • Added file_search.py script that finds and lists all files and unique extensions in a specified folder.
  • Included a README file with usage instructions for the script.
  • Updated the repo readme file with my script name, link to its folder and description of it.

Checks

in the repository

  • [ ✅] Made no changes that degrades the functioning of the repository
  • Gave each commit a better title (unlike updated README.md)

in the PR

  • [✅ ] Followed the format of the pull_request_template
  • [✅ ] Made the Pull Request in a small level (for the creator's wellfare)
  • [✅ ] Tested the changes you made

Thank You,

Debojit Choudhury

README.md Outdated
| Word to PDF | [Word to PDF](https://github.com/DhanushNehru/Python-Scripts/tree/master/Word%20to%20PDF%20converter) | A Python script to convert an MS Word file to a PDF file. |
| Youtube Downloader | [Youtube Downloader](https://github.com/DhanushNehru/Python-Scripts/tree/master/Youtube%20Downloader) | Downloads any video from [YouTube](https://youtube.com) in video or audio format!
| Youtube Playlist Info Scraper | [Youtube Playlist Info Scraper](https://github.com/DhanushNehru/Python-Scripts/tree/master/Youtube%20Playlist%20Info%20Scraper) | This python module retrieve information about a YouTube playlist in json format using playlist link.
| File Search | [File_search](https://github.com/debojit11/Python-Scripts/tree/master/File_Search) | A python script that searches a specified folder for all files, regardless of file type, within its directory and subdirectories.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put the row in the correct order.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I will make the changes

@@ -0,0 +1,31 @@
File Path Finder and Unique Extension Lister:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you consider improving the all the heading?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I will improve it

Copy link
Contributor Author

@debojit11 debojit11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The asked changes have been completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants