nowfound

Life & fun · November 26, 2024

Clean Your Mac with a Script

I wanted to clean old temporary files and caches from my macOS with a script instead of using a shady paid app, so I created a simple script for that. Pull requests are very welcome for other unused files to clean up storage space!

Clean Your Mac with a Script launched on November 26, 2024 with 44 votes, #550 of 4,990 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 1 year on.

Visit github.com ↗Alternativestop 11% of November 2024

In plain words

Clean Your Mac with a Script is a command-line tool that removes temporary files and caches from macOS systems. Created as an alternative to paid cleaning applications, it helps users free up storage space by targeting unused files through a straightforward script. The project welcomes community contributions to expand the list of files it cleans, making it a collaborative approach to system maintenance.

written from the facts on this page · September 2026

From the sources

Clean your macOS with a script, not an expensive app - hkdobrev/cleanmac

cleanmac.sh is a shell script designed to help you clean up unnecessary files on your macOS system. It removes cache files, logs, temporary files, and more, freeing up valuable disk space and improving system performance. Usage: cleanmac.sh [OPTIONS] [DAYS] Clean up unnecessary macOS files. Options: -h, --help Show this help message -d, --dry-run Show what would be deleted without deleting Arguments: DAYS Number of days of cache to keep (default: 7) Installation Clone the repository: git clone https://github.com/hkdobrev/cleanmac.git Navigate to the script directory: cd cleanmac Usage Run the script with default settings (7 days): ./cleanmac.sh Run the script and keep cache files for the…from github.com

Does a similar job

all alternatives →
  • Clean Mac Desktop2022 · phuctm97.gumroad.com · ▲347

    Automatically clean & backup your MacOS desktop in 1 click

  • Pretty Clean2022 · pretty-clean.github.io · ▲139

    macOS disk cleanup tools and programmer friendly. Size < 4MB

  • Mac Cleanup GoJan 2026 · github.com · ▲100

    Instead of a traditional command-style CLI, it runs as a TUI in the terminal, allowing users to inspect cleanup targets before proceeding. On my macOS machines, caches and app data often take up more than 40% of disk usage. Manually cleaning them each time felt tedious, so I built this tool to make the process easier. While similar tools exist, I found it hard to quickly understand how items were categorized or how important each cleanup target was, so I built my own. Repository: https:&#x2F;&#x2F;github.com&#x2F;2ykwang&#x2F;mac-cleanup-go Feedback is welcome.

  • CleanMyMac X2018 · macpaw.com · ▲418

    Keep your Mac clean, fast, and secure in two clicks.

  • CleanMyMac 32015 · macpaw.com · ▲420

    Clean, optimize, and maintain your Mac.

  • Room ServiceMar 2026 · roomservices.pro · ▲128

    Built this after repeatedly running into “Disk is full” on macOS with no clear explanation. Started as a cleanup tool for dev environments (Xcode, Docker, node_modules), but the harder problem turned out to be understanding what’s actually taking space. macOS groups a lot of this into “System Data”, which isn’t very actionable. Recently, local AI tools made this worse. Model files and caches (Ollama, Hugging Face, Whisper, etc.) grow silently and are spread across different locations. The goal is to make disk usage more transparent before deciding what to remove. Would appreciate feedback,…

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, November 2024

the whole month →
  • Lovable▲1,477

    Hey HN! Previous CERN physicist turned hacker here. We've developed a way to make AI coding actually work by systematically identifying and fixing places where LLMs typically fail in full-stack development. Today we're launching as Lovable (previously gptengineer.app) since it's such a big change. The problem? AI writing code typically make small mistakes and then get stuck. Those who tried know the frustration. We fixed most of this by mapping out where LLMs fail in full-stack dev and engineering around those pitfalls with prompt chains. Thanks to this, in all comparisons I found with: v0,…

    AI · 2024 · lovable.dev

  • Superchat▲1,427

    AI Agents for WhatsApp Business, Instagram & Co

    Growth · 2024 · superchat.com

  • Postiz▲1,188

    Streamline your social media with Postiz. Schedule posts, analyze performance, and manage all accounts in one place.

    Dev tools · 2024 · postiz.com

  • I wasn't quite sure if this qualified as "Show HN" given you can't really download it and try it out. However, dang said[0]: > If it's hardware or something that's not so easy to try out over the internet, find a different way to show how it actually works—a video, for example, or a detailed post with photos. Hopefully I did that? Additionally, I've put code and a detailed guide for the netboot computer management setup on GitHub: https:&#x2F;&#x2F;github.com&#x2F;kentonv&#x2F;lanparty Anyway, if this shouldn't have been Show HN, I apologize! [0]…

    Dev tools · 2024 · lanparty.house

  • Unlock a new level productivity with AI, Cloud Sync and more

    Work · 2024 · raycast.com

  • Cap▲1,047

    Beautiful screen recordings, owned by you. 100% open source.

    Dev tools · 2024 · cap.so