Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR for File_search script #316

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

debojit11
Copy link

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

@@ -135,6 +135,7 @@ Weight Converter | [Weight Converter](https://github.com/Wa
| 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
Collaborator

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.

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

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants