Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“‚ File Organizer – Python Automation Script

A simple and efficient Python automation tool that automatically organizes files into categorized folders (Images, Documents, Videos, Audio, and Archives). This mini-project demonstrates Python automation, file handling, and OS directory operations β€” perfect for beginners and portfolio building.

πŸš€ Features

βœ” Automatically scans a folder βœ” Detects file types by extension βœ” Creates folders only when needed βœ” Moves files into correct folders βœ” Clean and structured output in console βœ” Useful for desktops with messy files βœ” Lightweight & beginner-friendly

πŸ“ Folder Structure

After running the script, your directory looks like this:

Images/
Documents/
Videos/
Audio/
Archives/

Each folder contains its respective files automatically sorted.

πŸ›  Technologies Used

Python 3

OS module

Shutil module

πŸ“Œ How It Works

Choose a folder containing unorganized files

Run the script

The script reads all file extensions

Creates required folders

Moves files into the correct category

Simple. Fast. Automated.

▢️ How to Run the Script

Install Python

Download this repository

Open the project folder in CMD or VS Code

Run:

python File_Organizer.py

That’s it β€” your files will be organized instantly!

🧠 What You Learn From This Project

Python file handling

Automating daily tasks

Working with OS paths

Using loops and conditions

Building real-world Python mini tools

Perfect for beginners looking to increase skills and GitHub activity.

🌟 Output Example

Moved Ali_Hassan_CV.pdf β†’ Documents Moved Screenshot (10).png β†’ Images Moved song.mp3 β†’ Audio Moved video.mp4 β†’ Videos

🀝 Contribute

Want to improve this project? Feel free to fork the repo and submit a pull request!

πŸ‘€ Author

Ali Hassan GitHub: https://github.com/alisuports70-droid

About

Automates organizing files into structured folders

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages