✨ New update: Automation 2.0 is live — smarter workflows, faster results.

DiskSweep Utility for MacOS

Is Your Mac Running Out of Space? We’ve created DiskSweep – two lightweight utilities (Python + Bash) to help you find and manage large files. Perfect for developers tired of storage warnings! GitHub Repository: TechKluster/disksweep Why Choose DiskSweep? 🐍 Python Version 🐚 Bash Version Getting Started Python Version Setup Installation: Basic Usage: Bash Version Setup …

Is Your Mac Running Out of Space?

We’ve created DiskSweep – two lightweight utilities (Python + Bash) to help you find and manage large files. Perfect for developers tired of storage warnings!

GitHub Repository: TechKluster/disksweep

Why Choose DiskSweep?

🐍 Python Version

  • CSV exports
  • Cross-platform support
  • Interactive prompts
  • Advanced filtering

🐚 Bash Version

  • Zero dependencies
  • Instant results
  • Low memory usage
  • Cron job friendly

Getting Started

  1. Clone the repository:bashCopygit clone https://github.com/TechKluster/disksweep.git cd disksweep
  2. Choose your version:
    • Python: /python/disksweep.py
    • Bash: /bash/disksweep.sh

Python Version Setup

Installation:

cd python  
pip install -r requirements.txt  

Basic Usage:

# Scan Downloads folder for 500MB+ files  
python3 disksweep.py -d ~/Downloads -s 500  

# Generate CSV report  
python3 disksweep.py --csv report.csv  

Bash Version Setup

Installation:

cd bash  
chmod +x disksweep.sh  

Basic Usage:

# Quick home directory scan  
./disksweep.sh  

# Find 2GB+ files in Movies folder  
./disksweep.sh -d ~/Movies -s 2000  

Feature Comparison

FeaturePython VersionBash Version
Minimum File Size1MB10MB
CSV Export
Execution SpeedModerateFast

Pro Tips

  1. Scheduled Cleanups:
    Add this to crontab for weekly scans:bashCopy0 3 * * 1 /path/to/disksweep.sh -d ~/Downloads
  2. Common Targets:
    • Docker images (~/Documents/DockerDesktop)
    • Android SDK (~/.android)
    • Xcode Derived Data (~/Library/Developer)

FAQs

Q: Which version should I use?
A: Use Python for detailed reports, Bash for quick terminal checks.

Q: Is this safe for macOS Ventura/Sonoma?
A: Yes! Tested on macOS versions from Catalina onward.

Ready to Reclaim Your Space?

Both utilities are available under MIT License. Star the repo to support development! ⭐

Get DiskSweep on GitHub

Related Posts

Everyone is trading AI. Almost nobody can draw the power stack underneath it. Here’s the map. The stack GPUs / accelerators ↓ AI infrastructure & neoclouds ↓ Data centers ↓ Utilities / grid ↓ Nuclear + uranium ↓ Cooling, electrical gear, power systems In AlphaOS, this isn’t a vibe — it’s a graph: Full industry …

Kafka is widely used message broker especially in distributed systems, many ask this question that why Kafka is preferred over other available message brokers. There is no clear answer to this question instead it depends on your own requirements. Here we will discuss fundamentals of Kafka which you should know to get started. What is …

Leave a Reply

Your email address will not be published. Required fields are marked *