← Back to Portfolio

FileUsage Analyzer

FileUsage Analyzer
cppNov 2025Solo Developer

Project Overview

A high-performance C++ command-line utility that indexes directory paths, aggregates file sizes, and generates visual storage usage reports. Designed to mimic Linux disk utilization commands but optimized for cross-platform speed and deep path nesting.

Key Features

  • Multi-threaded directory traversing using system-level APIs
  • Formatted terminal output with graphical bar charts showing usage splits
  • Advanced filter flags supporting file extension types, size ranges, and modification dates
  • Direct JSON and CSV export capabilities for scripting automation

Technical Challenges & Solutions

Handling access denied folders and circular symlinks without breaking traversal loops. Solved by implementing an error pipeline that silently flags unreadable files while tracking directory inodes to detect and bypass infinite loop paths.