Find Leftover Files After Uninstalling an App
One find command sweeps ~/Library for the caches, preferences, and support folders a deleted app left behind.
01Command
$ find ~/Library -maxdepth 3 -iname "*AppName*" 2>/dev/null02What it does
Deleting an app removes the bundle, but its preferences (~/Library/Preferences), caches (~/Library/Caches), and containers (~/Library/Containers) survive — usually a few MB, occasionally gigabytes for media apps. -iname matches case variations and -maxdepth 3 keeps the scan fast while still reaching the main Library subfolders. Check the results before deleting: system frameworks and unrelated apps can share generic names like 'Finder' or 'Core'. Deleting the wrong folder can reset settings for a different app.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- find — walk a file hierarchy (macOS man page)Evidence: Documents -iname case-insensitive name matching and -maxdepth to limit how deep find descends.
- Delete or uninstall apps on Mac — Apple SupportEvidence: Apple notes that deleting an app does not remove its additional files; these live in Library folders.
Last verified: 2026-09-18 · Category: System & Settings
06Related solutions
List the biggest files in your home folder that are eating disk space.
Make Finder display .pdf, .docx, .png and every other extension at all times.
List every open file descriptor — files, directories, and network sockets — per process.