Skip to content

PritishReddy18/RubyClean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

RubyClean

A simple C++ CLI tool that scans projects for common development junk folders and helps clean them up.

Features

  • Scan project directories
  • Detect common junk folders
  • Calculate recoverable storage size
  • Sort results by size
  • Remove detected junk folders

Supported Folders

  • build
  • cmake-build-debug
  • cmake-build-release
  • pycache
  • node_modules
  • dist
  • .next
  • out
  • bin
  • obj

Build

g++ src/main.cpp src/cli/CommandParser.cpp src/scanner/Scanner.cpp -o RubyClean.exe

Usage

Scan

RubyClean.exe scan .

Clean

RubyClean.exe clean .

Example Output

=====================================
        RubyClean Report
=====================================

Path                                    Size
----------------------------------------------------------
.\test\cmake-build-debug                3.13 KB
----------------------------------------------------------

Total Recoverable: 3.13 KB

Cleaning

Delete all junk folders? (y/n): y

Cleanup completed.

Future Improvements

  • Detect log files
  • Detect temporary files
  • Export scan reports
  • Ignore file support
  • Largest folder analysis

Built while learning C++ and CLI application development.

About

Cleans your pc junk files

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors