Skip to content

Bookie212/python-file-organizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🗂️ Python File Organizer

A simple Python automation script that organizes files in a directory by type.
It includes two versions — one for copying and one for moving files.


🔹 Version 1: file_organizer_copy.py

Organizes files by copying them into chosen destination folders.
You can specify which file types to move or skip by passing arguments.

file_organizer(r"C:\Users\user\Desktop\file organizer", None, r"C:\Users\user\Downloads\Favour")


## 🔹 Version 2: file_organizer_move.py
Automatically organizes .jpg, .docx, .mp3, and .pdf files into folders on your Desktop.
It creates the following folders if they dont exist:
📸 image folder
📄 text folder
🎵 music folder
📕 pdf folder

```python
file_organizer(r"C:\Users\user\Desktop\file organizer")


⚙️ Tech Stack
💠Language: Python 3
💠Modules: os, shutil


💡 What I Learned
💠Navigating and automating the file system with os
💠Managing and moving files safely using shutil
💠Creating flexible Python functions with parameters
💠Applying automation to real-world productivity tasks


🧪 How to Test

💠Create a folder named file organizer on your Desktop.
💠Add some sample files (.jpg, .pdf, .mp3, .docx).
💠Run either script in VS Code or your terminal:
     python file_organizer_move.py
💠Watch your files get automatically organized into folders 🎉

📬 Contact
👩🏽‍💻 Bukola Hambolu
📧 hambolubukola650@gmail.com
🔗 https://www.linkedin.com/in/bukola-hambolu-71a581209/

About

A Python automation script that organizes files by type using os and shutil

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages