SpotlessOverviewFeaturesPricingCompareHelpGuidesSupport
Doolphin › Spotless › Features › Locked areas: what Spotless refuses to delete

Locked areas: what Spotless refuses to delete

A Spotless item detail window for a file named conversations-v3, 5.9 MB, with a grey Keep badge. A warning line says Protected: ChatGPT holds your chats, history, attachments and settings. Sections explain what it is, whether it matters, what happens if you delete it, where it is and when it was last used. A green note says Spotless can't delete this because it is protected. Buttons read Reveal in Finder, Always keep this and Close.

Some folders hold things you cannot get back. Spotless keeps a list of them and refuses to remove anything inside, whatever page it was found on. If you open an item that is locked, the detail window says "Protected", names the owner and gives the reason in plain words, like the ChatGPT example above.

What is locked

  • Photos library. The Photos Library package, plus anything under a .photoslibrary or belonging to the Photos services. It syncs with your iPhone and iCloud, so a delete here can remove pictures everywhere. It is locked by default. You can turn the lock off on the Protected page, after a confirmation.
  • iCloud and cloud folders. ~/Library/Mobile Documents (iCloud Drive) and ~/Library/CloudStorage (Dropbox, Google Drive, OneDrive). Deleting there deletes online too. Both are locked by default and can be unlocked on the Protected page.
  • Chats and settings of AI and editor apps. ChatGPT, Claude, Claude Code, Codex, Cursor, VS Code, Windsurf and Gemini CLI. Their cache folders (Cache, Code Cache, GPUCache and similar) stay removable. The rest does not.
  • Active projects. Folders Claude Code or Codex list as projects, and code folders with a marker such as .git or package.json edited in the last 60 days.
  • Folders you add yourself. You choose them on the Protected page. Only you can remove them from the list.

Separately, the safety check refuses top-level home folders (Documents, Desktop and so on), credentials folders such as ~/.ssh, and any link that points somewhere other than where it claims to. Only a short list of cache and log locations can ever be removed.

What you can turn the lock off for

Photos, iCloud, cloud folders, AI app data and detected projects each have a switch on the Protected page. macOS system areas never do. Turning it off opens a confirmation where "Keep locked" is the default button and "Turn lock off anyway" is the quiet one. Even with the lock off, deleting still goes through the review sheet and goes to the Trash.

What the lock does not claim

A lock stops Spotless from deleting. It does not hide anything from the scan: the space map still shows sizes. Photos and iCloud contents are read only if you allow it in Settings, off by default.

The manual way

To see what is there, read-only:

du -sh ~/Pictures/*.photoslibrary
ls ~/Library/CloudStorage
du -sh ~/.claude ~/.codex

Delete photos inside the Photos app, never inside the package. For iCloud files, Finder's right-click "Remove Download" frees local space and keeps the file online. Deleting the file itself removes it from every device.

Keep going

Buy for $9 All features

Not connected yet