This Python script organizes files in a specified directory based on their file types. It automatically creates folders for different file categories, such as Images, Documents, and Videos, and moves the files into the appropriate folders. This code is also under 100 lines
- Automatically creates folders for Images, Documents, and Videos.
- Moves files to the corresponding folders based on their extensions.
- Prints messages to indicate the files that were moved and any files that did not match any category.
- PNG (
.png) - JPG (
.jpg,.jpeg) - GIF (
.gif)
- PDF (
.pdf) - Word Documents (
.docx) - Text Files (
.txt)
- MP4 (
.mp4) - MKV (
.mkv) - AVI (
.avi)
- Python 3.x installed on your system.
- Basic knowledge of how to run Python scripts.
- Thanks to the open-source community for their contributions and support.