# Broken preferences files

Source: https://diskcity.app/folders/hygiene-broken-preference

**Check before deleting.** Only if you're sure you don't need it. Put it back from the Recycling Yard; the app writes new settings when it next starts.

## What it is

A preferences file that no longer parses as a property list can't be read by its app; it writes new settings when it starts.

Only files that fail to parse; never Apple's own, the global preferences or the login window's; an unreadable file is never called broken.

## Where it is

- `~/Library/Preferences/*`

## How big is it?

```sh
du -sh "$HOME/Library/Preferences"
```

## How to remove it

1. In Finder, choose Go > Go to Folder (Shift-Command-G), paste the path above and press Return.
2. Only a file that is broken: in Terminal, `plutil -lint <file>` reports an error for it, or, for a launch agent, the program it starts no longer exists. If plutil prints OK and the program is still there, leave it.
3. Only files ending in .plist.
4. Leave anything named `com.apple.*`, `.globalpreferences*` or `loginwindow*` (a `*` stands for any text).
5. Leave anything opened or changed less than 7 days ago (for a folder, its newest file counts). DiskCity waits that long too.
6. Look through what's there, and move only what you're sure you don't need to the Trash.
7. Empty the Trash to get the space back. Until then, you can still put things back.

## What DiskCity does with it

DiskCity never deletes it outright: if you approve, it waits 30 days in the Recycling Yard first. It only suggests it once it hasn't been used for 7 days.
