Solutions Log by Dan Reiland

30Sep/090

Clear Spotlight Index

From a terminal window:

sudo mdutil -avE

That is, sudo (because you have to have admin rights to run this), mdutil (the program that does the work for you) -a for “work on all volumes”, -v for “be verbose in telling me what you’re doing”, and -E for “erase the data store and rebuild it”.

2Feb/090

Flush DNS cache in OS X

OS X > = 10.5
dscacheutil -flushcache

OS X <= 10.4
sudo lookupd -flushcache

Tagged as: , No Comments