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.
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 donโt 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/