Skip to content

OlafMoreno/FileClassifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📂 FileClassifier

FileClassifier is a simple tool that automatically organizes files into folders based on their extension or type.

It helps keep directories clean by sorting files such as images, documents, videos, and more into categorized folders.


✨ Features

  • 📁 Automatically classify files by extension
  • 🧹 Clean and organize messy folders
  • ⚡ Fast and lightweight
  • 🖥️ Works on Linux and Windows
  • 🐍 Written in Python
  • 🪟 Simple graphical interface using Tkinter

🖥️ Example

Before

Downloads/
    image.png
    music.mp3
    video.mp4
    document.pdf

After running FileClassifier

Downloads/
    Images/
        image.png
    Audio/
        music.mp3
    Videos/
        video.mp4
    Documents/
        document.pdf

⚙️ Installation

Clone the repository:

git clone https://github.com/OlafMoreno/FileClassifier.git
cd FileClassifier

Create a virtual environment (recommended):

python3 -m venv venv
source venv/bin/activate

🚀 Run the program

python main.py

🏗️ Build Executable

Linux

pyinstaller --onefile --windowed main.py

Executable will appear in:

dist/main

Run it:

./dist/main

Windows

pyinstaller --onefile --windowed main.py

Executable:

dist/main.exe

📦 Prebuilt Executables

The folder executable contains precompiled executables for Linux and Windows.

You can run them directly without installing Python or any dependencies.

Example:

Linux:

./executable/FileClassifier

Windows:

executable\FileClassifier.exe

📁 Project Structure

FileClassifier
│
├── main.py
├── executable/
│   ├── FileClassifier
│   └── FileClassifier.exe
├── README.md
└── other project files

🧠 How it Works

  1. Scans a directory
  2. Detects file extensions
  3. Creates folders for each category
  4. Moves files into the correct folder

📜 License

This project is licensed under the GNU General Public License (GPL).


👤 Author

Olaf Moreno

GitHub:
https://github.com/OlafMoreno

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages