Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.03 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.03 KB

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