Skip to content

mecik-arda/cpp-file-organizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

File Organizer (C++17)

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.

Features

  • 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::filesystem library for robust path management.
  • Clean Execution: Ignores its own executable and source code during the organization process.

Supported Categories

  • 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

Requirements

  • C++17 compliant compiler (GCC 8+, Clang 7+, or MSVC 19.14+).

Usage

  1. Place the executable in the folder you want to organize.
  2. Run the program.
  3. Your files will be instantly moved into categorized subdirectories.

About

A C++17 command-line utility that automatically categorizes and organizes files into subdirectories based on their extensions.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages