Command line and power tools
Useful for troubleshooting, for uninstalling properly, and for satisfying yourself that something did what it claimed.
find / -newermt "10 minutes ago" -not -path "*/Caches/*" 2>/dev/null | head -60
-newermt takes a natural date. Expect system noise; the meaningful lines are usually in /Applications, /Library, ~/Library and /usr/local.
sudo fs_usage -w -f filesys | grep -i appname
fs_usage prints every filesystem operation as it occurs. It is a firehose — filter hard. Terminal needs Full Disk Access for this to be useful.
sudo fs_usage -w -f filesys | grep "/Users/you/Documents"
pkgutil --expand installer.pkg /tmp/expanded
ls -R /tmp/expanded
That reveals the payload and any preinstall/postinstall scripts. Reading those scripts before running an unfamiliar .pkg is a reasonable habit.
Afterwards, list what a package actually placed:
pkgutil --pkgs
pkgutil --files com.example.package
Console.app with a filter on the app's name shows what it logged, which frequently includes the paths it wrote.
Almost everything an app writes goes into ~/Library, which Spotlight excludes. The Terminal is the practical route, or an index that does not exclude Library and can sort by modification time.
A built-in tool that prints filesystem activity in real time. It needs sudo and Full Disk Access to be useful.
pkgutil --pkgs lists installed package IDs; pkgutil --files <id> lists their files.
Everywhere keeps track of every file on your Mac — including the folders Spotlight hides and drives you have unplugged. Free for a day, then $19 once.
Download for Mac