CleanWrap v1.0.0
π§Ή CleanWrap β Smart File Organization for Windows [v1.0.0]
CleanWrap v1.0.0 is the first stable release of a lightweight Windows file organization utility built entirely with Modern C++20.
Originally designed for the Windows Downloads folder, CleanWrap can now organize any folder through Windows Explorer integration. It intelligently categorizes files into dedicated folders, detects duplicate files using content hashing and Windows duplicate filename patterns, generates detailed cleanup reports, and exits within seconds.
CleanWrap is designed to stay lightweight, fast, and dependency-free while keeping your directories clean with minimal user interaction.
β¨ Features
- Automatically organizes downloaded files
- Organizes any folder through Windows Explorer Context Menu
- Categorizes files by extension
- Creates category folders only when required
- Creates duplicate folders only when duplicate files exist
- Supports documents, images, videos, audio, archives, source code, executables, installers, and many more
- Detects duplicate files using 64-bit FNV-1a hashing
- Recognizes common Windows duplicate filename patterns
- Automatically generates detailed cleanup logs
- Optional Windows Startup integration
- Lightweight and extremely fast
- Modular object-oriented architecture
- Built entirely using Modern C++20
π Folder Structure
After running CleanWrap, your directory is automatically organized like this:
Downloads/
βββ Images/
β βββ Duplicates_Images/
β
βββ PDFs/
β βββ Duplicates_PDFs/
β
βββ Videos/
β βββ Duplicates_Videos/
β
βββ Audio/
β βββ Duplicates_Audio/
β
βββ Code/
β βββ Duplicates_Code/
β
βββ Documents/
β βββ Duplicates_Documents/
β
βββ Zips/
β βββ Duplicates_Zips/
β
βββ Executables and Installers/
β βββ Duplicates_Executables and Installers/
β
βββ Others/
β βββ Duplicates_Others/
β
βββ _CleanWrap.log
Note: Category folders are created only when files belonging to that category exist. Likewise, duplicate folders are created only if duplicate files are detected.
π Smart Duplicate Detection
CleanWrap uses a multi-stage duplicate detection system.
β Content-Based Hash Detection
Every file is hashed using a fast 64-bit FNV-1a hashing algorithm.
If another file with the exact same content already exists, CleanWrap identifies it as a duplicate regardless of its filename.
β‘ Windows Duplicate Filename Recognition
CleanWrap also recognizes common Windows duplicate filename patterns such as:
My File (1).pdf
My File (2).pdf
Holiday - Copy.jpg
Assignment - Copy (3).docx
These filename patterns are checked alongside file hashes before classifying a file as a duplicate.
β’ Intelligent Duplicate Placement
When duplicate files are found:
- The original file remains inside its main category folder.
- Windows-generated copies such as
(1)or- Copyare automatically moved into the corresponding Duplicates folder. - If identical files have different names, the original file is preserved while later duplicates are isolated.
This keeps your directories clean without risking accidental loss of the original file.
π Cleanup Report
Every execution generates:
_CleanWrap.log
The report contains:
- Date & Time
- Cleanup session summary
- Total files handled
- Category-wise statistics
- Duplicate count
- Error count
Logs are appended instead of overwritten, preserving the history of every cleanup session.
β Windows Integration
CleanWrap integrates directly with Windows.
Windows Explorer Context Menu
Right-click inside any folder and choose:
Organize with CleanWrap
CleanWrap instantly organizes the selected directory.
Windows Startup (Optional)
During installation you may enable:
Automatically organize Downloads when Windows starts
CleanWrap launches once during Windows startup, organizes the Downloads folder, generates a cleanup report, and exits automatically.
π¦ Project Structure
CleanWrap/
.
βββ π assets
β βββ cleanwrap.ico
β βββ installer_banner.bmp
β βββ installer_small.bmp
β βββ logo.png
β
βββ π include
β βββ DuplicateDetector.hpp
β βββ FileClassifier.hpp
β βββ FileOrganizer.hpp
β βββ FileTypes.hpp
β βββ Notifications.hpp
β βββ Statistics.hpp
β
βββ π src
β βββ DuplicateDetector.cpp
β βββ FileClassifier.cpp
β βββ FileOrganizer.cpp
β βββ FileTypes.cpp
β βββ Notifications.cpp
β βββ Statistics.cpp
β
βββ π release
β βββ CleanWrap_v1.0
β β βββ CleanWrap_v1.0.exe
β β βββ CleanWrap_v1.0_Setup.exe
β
βββ π script
β βββ cleanwrap_v1.0.iss
β
βββ LICENSE
βββ README.md
βββ main.cpp
βββ release.sh
β‘ Built With
- Modern C++20
- Standard Template Library (STL)
<filesystem><unordered_map><unordered_set><regex><fstream>- Object-Oriented Programming
- Modular Project Architecture
- Windows Registry Integration
- Windows Explorer Context Menu
- Inno Setup Installer
π¦ Included with CleanWrap v1.0
- CleanWrap Installer
- CleanWrap Executable
- User Manual
- README
- Source Code
- MIT License
π Building Locally
Compile using g++
g++ -O2 -std=c++20 ^
-Iinclude ^
main.cpp ^
src/*.cpp ^
-o CleanWrap.exeRelease build:
./release.shπ Author
Ettisaf Rup
Software Lead, XtendArena
B.Sc. in Computer Science & Engineering
Khulna University of Engineering & Technology (KUET)
π€² Support CleanWrap
If you found this project useful, consider giving it a β on GitHub.
It helps others discover the project and motivates future improvements.
And if anyone ever wishes to donate, you can always bring me to a tong for a cup of tea. β
π Roadmap
- Drag & Drop Support
- Automatic Update Checker
- Undo Last Organization
- Configuration File (.json)
- User-defined Categories
- SHA-256 Duplicate Detection
- File Type Icons
- Statistics Dashboard
- GUI Version
- Multi-threaded Processing
- Localization Support
Thank you for checking out CleanWrap.
If this project helped you organize your files or inspired you, consider leaving a β on the repository. Every star motivates future development and helps the project reach more people.
Happy organizing! π§Ή
CleanWrap Β© 2026 β’ Developed by Ettisaf Rup β’ Released under the MIT License