{
  "id": 21432762,
  "title": "Why a disk cleaner should never delete on its own",
  "url": "https://urgent.news/2026/11/23/why-a-disk-cleaner-should-never-delete-on-its-own",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-23T17:20:08.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/rglodzinski/why-a-disk-cleaner-should-never-delete-on-its-own-fam"
  },
  "original_language": "en",
  "account": "A disk cleaner performs a unique task: its primary purpose is to delete data. The potential errors are not simply \"a button is misplaced\" — they involve losing critical information. The method Limpa Tudo, an open-source (MIT) disk cleaner for Mac and Linux, employs, and the reasons behind it, are outlined below.\n\nFirstly, the scanning and removal processes are distinct steps. The scanner does not erase any data. It presents the entire list of items to be deleted, enabling the user to make a well-informed decision. There is no \"clean everything\" button that bypasses this list, and the background monitor merely reports — it can indicate the availability of space, but it never erases it.\n\nSecondly, by default, everything is directed to the system Trash. This means that a mistake can be rectified by simply dragging the item back. Permanent deletion is available, but it is an advanced setting that must be explicitly turned on. The confirmation message in plain words emphasizes that this is a deliberate action.\n\nThirdly, the application operates within a fixed list of paths, rather than conducting an open-ended scan of the entire disk. It targets known cache locations such as ~/.npm , ~/Library/Developer/Xcode/DerivedData , and ~/.gradle/caches. It never ventures beyond these locations, thus minimizing the risk of accidentally deleting important data. Folders such as Documents, Desktop, Photos, passwords and the Keychain are intentionally excluded from the scanning process.\n\nFourthly, every item displayed is accompanied by its exact path and size. This transparency is crucial as it allows the user to understand where the data is stored and how much space it occupies. This feature is particularly important on APFS file systems, where a folder might report hundreds of GB of space, but the actual data might only consume a few GB due to block sharing.\n\nFifthly, the risk associated with each item is clearly indicated. Items are categorized as low risk (automatically rebuilt — caches, build outputs), medium risk (returns, but at a cost — emulators, downloaded models, chat media) or high risk (data that would be lost — entire Docker VMs). Only low-risk items can be automatically selected; medium-risk items require an additional confirmation; high-risk items are only visible in advanced mode.\n\nLastly, the application does not guarantee any improvement in speed or increase in available disk space. Clearing caches does not necessarily translate to a faster computer. Any promise of \"X GB freed\" is unverified, as it depends on the specific contents of the user's disk. The honest promise of Limpa Tudo is to provide the user with a detailed overview of their disk's contents, identify what is safe to remove, and leave the final decision in the hands of the user. The code, including the catalog of paths and the risk assessment of each one, is openly available on GitHub, allowing users to verify these rules independently.",
  "summary": "A disk cleaner has an unusual job: its main feature is destroying data. The failure modes aren't \"a button is in the wrong place\" — they're \"my thesis is gone\". These are the rules Limpa Tudo , the open-source (MIT) disk cleaner for Mac and Linux I build, follows, and why. 1. Scanning and removing are separate steps A scan never deletes anything. You see the full list first, then decide. There is…",
  "key_points": [
    "Disk cleaner's primary purpose is to delete data, not free space",
    "Scanner presents items for deletion, no \"clean everything\" button",
    "Default deletion route is system Trash, easy to recover from mistakes"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}