This project is a file organizer desktop application built using Python and CustomTkinter. It helps users automatically organize files in a specified folder by their file extensions, creating subfolders for each type.
🎉 Organize files in a selected folder based on their extensions.
📂 Creates subfolders for each file type (e.g., .txt
, .jpg
, .pdf
).
📑 Allows users to browse and select the folder to organize.
🔍 Open the selected folder directly from the app after organizing.
Follow these steps to set up and run the File Organizer on your desktop:
-
Clone the repository:
git clone https://github.com/EmileGreyling/file_organizer.git
-
Navigate to the project directory:
cd file_organizer
-
Create a virtual environment:
python3 -m venv env
-
Activate the virtual environment:
- On Windows:
env\Scripts\activate
- On macOS and Linux:
source env/bin/activate
- On Windows:
-
Install required dependencies:
pip install -r requirements.txt
-
Run the application:
python file_organizer.py
- Browse Folder: Click the entry box to select a folder to organize.
- Organize Files: Click the "Organize Files" button to organize the files by their extensions.
- View the Organized Folder: Click the "Open Folder" button to open the folder in your file explorer after organizing.
To compile the app into an executable:
-
Install auto-py-to-exe:
pip install auto-py-to-exe
-
Run auto-py-to-exe and configure the
.py
script to create an executable for easier access.
Contributions are welcome! If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make changes, test them, and submit a pull request with explanations.
Here are some potential areas for improvement in this project:
- Advanced Sorting: Implement more sophisticated file sorting mechanisms (e.g., by size, date).
- Drag and Drop Support: Allow drag-and-drop functionality to add files or folders.
- Error Handling: Add more robust error handling for invalid folder selections and other issues.