A powerful and efficient command-line tool built with C++17 to automatically organize cluttered directories. This tool scans files in its current directory and moves them into categorized folders based on their extensions.
- Automatic Categorization: Groups files into Images, Music, Videos, Documents, Archives, Code, and Executables.
- Smart Conflict Handling: If a file with the same name already exists in the destination, it automatically renames the new file (e.g.,
file_1.jpg) to prevent data loss. - Cross-Platform Path Handling: Uses the
std::filesystemlibrary for robust path management. - Clean Execution: Ignores its own executable and source code during the organization process.
- Images: .jpg, .jpeg, .png, .gif, .bmp
- Music: .mp3, .wav, .flac, .aac
- Videos: .mp4, .avi, .mkv, .mov
- Documents: .pdf, .doc, .docx, .txt, .xlsx, .pptx
- Archives: .zip, .rar, .7z, .tar, .gz
- Code: .c, .cpp, .h, .py, .java, .js, .html, .css
- Executables: .exe, .msi, .bat, .sh
- C++17 compliant compiler (GCC 8+, Clang 7+, or MSVC 19.14+).
- Place the executable in the folder you want to organize.
- Run the program.
- Your files will be instantly moved into categorized subdirectories.