Skip to content

This code will help you to group the files in the certain directory based on the file extensions

Notifications You must be signed in to change notification settings

kartheekkotha/GroupFiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

File Grouping Script

Introduction

This Python script is designed to help you organize files in a specified directory based on their file extensions. It can be especially useful for decluttering and categorizing your files quickly.

Prerequisites

Before using this script, ensure that you have the following:

  1. Python: Make sure you have Python installed on your system. You can download it from Python's official website.

Usage

  1. Clone the Repository: Clone this repository to your local machine or download the script directly.

  2. Run the Script: Open your terminal or command prompt, navigate to the directory where the script is located, and run the following command:

    python file_grouping_script.py
    

Example

MyFiles/
    document1.pdf
    document2.docx
    image1.jpg
    image2.png
    video1.mp4

MyFiles/
    .docx/
        document1.pdf
        document2.docx
    .jpg/
        image1.jpg
    .png/
        image2.png
    .mp4/
        video1.mp4

About

This code will help you to group the files in the certain directory based on the file extensions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published