2/24/2013 - 9:08 AM



# get rid of duplicate apps by reindexing
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

# reindex mail
rm "/Users/clarkgoble/Library/Mail/v2/MailData/Envelope Index"
rm "/Users/clarkgoble/Library/Mail/v2/MailData/Envelope Index-shm"
rm "/Users/clarkgoble/Library/Mail/v2/MailData/Envelope Index-wal"

# cleanup downloaded mail attachments (you can always redownload later)

rm -r "/Users/clarkgoble/Library/Mail Downloads/"

# make Library visible

chflags nohidden /Users/clarkgoble/Library

# clean up my Desktop

mv /Users/clarkgoble/Desktop/* /Users/clarkgoble/Documents/Temporary\ Files/

# repair permissions
# run diskutil list to get the name of your partitions

diskutil repairPermissions disk1s2

# clear out caches

rm -r /Users/clarkgoble/Library/Caches/*

sudo rm -r /Library/Caches/*