Speed up your Mac

I came across these nifty commands when trying to repair my Finder.app.

Rebuild your LaunchServices database to repair confused “Open With…” menus:

/System/Library/Frameworks/CoreServices.framework\
/Versions/A/Frameworks/LaunchServices.framework/Versions/\
A/Support/lsregister -kill -r -domain local -domain system \
-domain user

Run the optimization that’s normally run after installing a program:

sudo update_prebinding -force -root /

My computer feels significantly faster now.