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.
Before using this script, ensure that you have the following:
- Python: Make sure you have Python installed on your system. You can download it from Python's official website.
-
Clone the Repository: Clone this repository to your local machine or download the script directly.
-
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
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