https://github.com/saadarazzaq/organize-my-files
File Organizer 📁🧹
https://github.com/saadarazzaq/organize-my-files
python shutil
Last synced: 7 days ago
JSON representation
File Organizer 📁🧹
- Host: GitHub
- URL: https://github.com/saadarazzaq/organize-my-files
- Owner: SaadARazzaq
- Created: 2023-08-23T21:48:00.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-26T04:58:11.000Z (almost 3 years ago)
- Last Synced: 2025-07-22T03:52:19.066Z (about 1 year ago)
- Topics: python, shutil
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Organize-My-Files 📁🧹🐍
This script is designed to organize files in a specified directory based on their file extensions. It sorts files into subdirectories according to their extensions, making it easier to manage and locate files by type.
## 💡Intuition
When you run the script, it prompts you to enter a path to the directory containing the files you want to organize. The script then processes each file in the directory, creating subdirectories for each unique file extension and moving the files into their respective subdirectories.
For instance, if you have a directory with files like `file1.txt`, `file2.jpg`, and `file3.docx`, the script will create subdirectories named `txt`, `jpg`, and `docx`, respectively, and move the files into their respective subdirectories.
## ⚒️Usage
1. Run the script.
2. Enter the path of the directory you want to organize when prompted.
3. The script will create subdirectories for each unique file extension and move the files accordingly.
**Note**: This script is a basic organizer and might not cover all use cases. Use it with caution and consider backing up your files before running the script.
## 🔳Outputs
### Before Running the Script:

### After Running the Script:

