About | Buy the Software | Forum | Industry Watch | Learning Curve | Newsletters | Products
Home » Learning Curve

The CLIX Files

As of 7 November 2006.


ACP | ManOpen | Clean | Desktop | Developer | Disk | Echo | List | Log | Lproj | Misc | Network | Objdump | Open | Opener | Security | System

ACP

ACP Prefs GlobalACP Systemread global ACP preferencesdefaults read /Library/Preferences/com.rixstep.ACP
ACP Prefs LocalACP Systemread local ACP preferencesdefaults read com.rixstep.ACP
ACP Set UIDsACP Systemescalate use of ASMX Lightman Priority Spike Trace Tracker Scansudo chown 0:80 ../ASMX.app/Contents/MacOS/ASMX ../Lightman.app/Contents/MacOS/Lightman ../Spike.app/Contents/Resources/tr ../Tracker.app/Contents/Resources/sc;sudo chmod 4550 ../ASMX.app/Contents/MacOS/ASMX ../Lightman.app/Contents/MacOS/Lightman ../Spike.app/Contents/Resources/tr ../Tracker.app/Contents/Resources/sc
Clear Recents Off GlobalACP Systemturn ACP clear recents off globallydefaults delete /Library/Preferences/com.rixstep.ACP RxClearRecents
Clear Recents Off LocalACP Systemturn ACP clear recents off locallydefaults delete com.rixstep.ACP RxClearRecents
Clear Recents On GlobalACP Systemturn ACP clear recents on globallydefaults write /Library/Preferences/com.rixstep.ACP RxClearRecents -boolean true
Clear Recents On LocalACP Systemturn ACP clear recents on locallydefaults write com.rixstep.ACP RxClearRecents -boolean true
ClixmanACP Systemdemonstration of clixman filterman sysctl | ./clixman
Deescalate XfileACP Systemdeescalate Xfilecd ~/Applications/etc;./deesc Xfile 2>/dev/null
Deescalate Xfile SystemACP Systemdeescalate Xfile Systemecho 'De-escalating Xfile System...';cd ..;sudo chown 501:20 Xfile.app/Contents/MacOS/Xfile Xfind.app/Contents/MacOS/Xfind Xscan.app/Contents/MacOS/Xscan;sudo chmod 0700 Xfile.app/Contents/MacOS/Xfile Xfind.app/Contents/MacOS/Xfind Xscan.app/Contents/MacOS/Xscan;sudo mv .GlobalPreferences.plist com.rixstep.Xfile.plist com.rixstep.Xfind.plist com.rixstep.Xscan.plist ~/Library/Preferences;echo Done.
Deescalate XscanACP Systemdeescalate Xscancd ~/Applications/etc;./deesc Xscan 2>/dev/null
EncodingsACP Systemshow available string encodings./encodings
Escalate XfileACP Systemescalate Xfilecd ~/Applications/etc;./esc Xfile 2>/dev/null
Escalate Xfile SystemACP Systemescalate Xfile Systemecho 'Escalating Xfile System...';cd ..;sudo chown 0:80 Xfile.app/Contents/MacOS/Xfile Xfind.app/Contents/MacOS/Xfind Xscan.app/Contents/MacOS/Xscan;sudo chmod 4710 Xfile.app/Contents/MacOS/Xfile Xfind.app/Contents/MacOS/Xfind Xscan.app/Contents/MacOS/Xscan;cp ~/Library/Preferences/.GlobalPreferences.plist ~/Library/Preferences/com.rixstep.Xfile.plist ~/Library/Preferences/com.rixstep.Xfind.plist ~/Library/Preferences/com.rixstep.Xscan.plist .;echo Done.
Escalate XscanACP Systemescalate Xscancd ~/Applications/etc;./esc Xscan 2>/dev/null
Finder to XfileACP Systemmake Xfile default file browserdefaults write ~/Library/Preferences/com.apple.dock QuitFinder -bool YES;defaults write ~/Library/Preferences/com.apple.loginwindow Finder
Kill ACP.serviceACP Systemkill the ACP.service process (used in testing)killall ACP
Revert to FinderACP Systemrestore Finder as default file browserdefaults delete com.apple.dock QuitFinder;defaults delete com.apple.loginwindow Finder
RXD .volACP Systemshow info on /.vol mount./rxd /.vol
RXD automountACP Systemshow info on /automount mount./rxd /automount
RXD devACP Systemshow info on /dev mount./rxd /dev
RXD RootACP Systemshow info on root mount./rxd /
RXD ServersACP Systemshow info on /Network/Servers mount./rxd /Network/Servers
RXD UserACP Systemshow info on user's mount./rxd ~
TIFFs Compress UserACP Systemfind and compress TIFF files in user areafind ~ \( -name '*\.tif' -or -name '*\.tiff' \) -exec ./tiffcompress {} \;
TIFFs Find UserACP Systemfind TIFF files in user areafind ~ \( -name '*\.tif' -or -name '*\.tiff' \)
VolinfoACP Systemshow information for current volume or volume specified by file path./volinfo
Autohide OnXshelfturn Xshelf autohide ondefaults write com.rixstep.Xshelf Autohide -bool YES
Autohide ReadXshelfread Xshelf autohide behaviourdefaults read com.rixstep.Xshelf Autohide
Autohide RestoreXshelfrestore default Xshelf autohide behaviourdefaults delete com.rixstep.Xshelf Autohide
Level FloatXshelfset Xshelf to floatdefaults write com.rixstep.Xshelf Level -integer 3
Level ReadXshelfread Xshelf window leveldefaults read com.rixstep.Xshelf Level
Level RestoreXshelfrestore default Xshelf leveldefaults delete com.rixstep.Xshelf Level
Status OnXshelfturn Xshelf status (menulet display) ondefaults write com.rixstep.Xshelf Status -bool YES
Status ReadXshelfread Xshelf status (menulet) behaviourdefaults read com.rixstep.Xshelf Status
Status RestoreXshelfrestore default Xshelf status (menulet display) behaviourdefaults delete com.rixstep.Xshelf Status
UI Element OffXshelfrun Xshelf as ordinary application (adjust path in 2nd command accordingly)chmod 0600 ../Xshelf.app/Contents/Info.plist;defaults delete ~/Applications/Xshelf.app/Contents/Info NSUIElement;chmod 0400 ../Xshelf.app/Contents/Info.plist
UI Element OnXshelfrun w/o menu bar or dock icon; requires status item (adjust path in 2nd cmd accordingly)defaults write com.rixstep.Xshelf Status -bool YES;chmod 0600 ../Xshelf.app/Contents/Info.plist;defaults write ~/Applications/Xshelf.app/Contents/Info NSUIElement -bool YES;chmod 0400 ../Xshelf.app/Contents/Info.plist

ManOpen

ManOpen EnableCLIXenable ManOpendefaults write com.rixstep.CLIX MO 1
ManOpen ReadCLIXread ManOpen settingdefaults read com.rixstep.CLIX MO
ManOpen RestoreCLIXrestore default ManOpen settingdefaults delete com.rixstep.CLIX MO

Clean

.DS_Store CleanCleanclean .DS_Store filesecho -n 'CLIX cleaning .DS_Store files... ';sudo find / -name \.DS_Store -exec rm -f {} \;;echo done.
.DS_Store PurgePurgepurge .DS_Store filesecho -n 'CLIX purging .DS_Store files... ';sudo find / -name \.DS_Store -exec rm -fP {} \;;echo done.
.localized CleanCleanclean .localized filesecho -n 'CLIX cleaning .localized files... ';sudo find / -name \.localized -exec rm -f {} \;;echo done.
.MCXLC CleanCleanclean .MCXLC filesecho -n 'CLIX cleaning .MCXLC files... ';sudo find ~ -name \.MCXLC -exec rm -f {} \;;echo done.
Apple Mail CleanCleanclean Apple Mail filesfind ~/Library/Mail -name mbox.SKindex* -exec rm -f {} \;;find ~/Library/Mail -name table_of_contents -exec rm -f {} \;
Apple Mail PurgePurgepurge Apple Mail filesfind ~/Library/Mail -name mbox.SKindex* -exec rm -fP {} \;;find ~/Library/Mail -name table_of_contents -exec rm -fP {} \;
AppleRecentFolders CleanCleanclean global AppleRecentFoldersdefaults delete -g AppleRecentFolders;defaults delete -g AppleRecentFolders
Browser Caches CleanCleanclean all browser cachesecho -n 'CLIX cleaning Camino caches... ';rm -fr ~/Library/Application\ Support/Camino/Cache/*;echo done.;echo -n 'CLIX cleaning Firefox caches... ';rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/Cache/*;rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/Cache.Trash/*;echo done.;echo -n 'CLIX cleaning iCab caches... ';rm -fr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/*;echo done.;echo -n 'CLIX cleaning IE caches... ';rm -fr ~/Library/Caches/MS\ Internet\ Cache/*;rm -fr ~/Library/Preferences/Explorer/Download\ Cache;rm -fr ~/Library/Preferences/Explorer/Temporary\ Files/*;echo done.;echo -n 'CLIX cleaning Mozilla caches... ';rm -fr ~/Library/Mozilla/Profiles/*/*/Cache;echo done.;echo -n 'CLIX cleaning OmniWeb caches... ';rm -fr ~/Library/Caches/com.omnigroup.OmniWeb5/Cache;echo done.;echo -n 'CLIX cleaning Opera caches... ';rm -fr ~/Library/Caches/Opera\ Cache/Cache*;echo done.;echo -n 'CLIX cleaning Shiira caches... ';rm -fr ~/Library/Caches/Shiira/*;echo done.
Browser Caches PurgePurgepurge all browser cachesecho -n 'CLIX purging Camino caches... ';rm -fPr ~/Library/Application\ Support/Camino/Cache/* 2>/dev/null;echo done.;echo -n 'CLIX purging Firefox caches... ';rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/Cache/* 2>/dev/null;rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/Cache.Trash/* 2>/dev/null;echo done.;echo -n 'CLIX purging iCab caches... ';rm -fPr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/* 2>/dev/null;echo done.;echo -n 'CLIX purging IE caches... ';rm -fPr ~/Library/Caches/MS\ Internet\ Cache/* 2>/dev/null;rm -fPr ~/Library/Preferences/Explorer/Download\ Cache 2>/dev/null;rm -fPr ~/Library/Preferences/Explorer/Temporary\ Files/* 2>/dev/null;echo done.;echo -n 'CLIX purging Mozilla caches... ';rm -fPr ~/Library/Mozilla/Profiles/*/*/Cache 2>/dev/null;echo done.;echo -n 'CLIX purging OmniWeb caches... ';rm -fPr ~/Library/Caches/com.omnigroup.OmniWeb5/Cache 2>/dev/null;echo done.;echo -n 'CLIX purging Opera caches... ';rm -fPr ~/Library/Caches/Opera\ Cache/Cache* 2>/dev/null;echo done.;echo -n 'CLIX purging Shiira caches... ';rm -fPr ~/Library/Caches/Shiira/* 2>/dev/null;echo done.
Browser Cookies CleanCleanclean all browser cookiesecho -n 'CLIX cleaning Camino cookies... ';rm -fr ~/Library/Application\ Support/Camino/cookies.txt*;echo done.;echo -n 'CLIX cleaning iCab cookies... ';rm -fr ~/Library/Preferences/iCab\ Preferences/iCab\ Cookies;echo done.;echo -n 'CLIX cleaning Firefox cookies... ';rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/cookies.txt;echo done.;echo -n 'CLIX cleaning OmniWeb cookies... ';rm -fr ~/Library/Application\ Support/OmniWeb\ 5/Cookies.xml;echo done.;echo -n 'CLIX cleaning Opera cookies... ';rm -fr ~/Library/Preferences/Opera\ Preferences/cookies*;echo done.
Browser Cookies PurgePurgepurge all browser cookiesecho -n 'CLIX purging Camino cookies... ';rm -fPr ~/Library/Application\ Support/Camino/cookies.txt* 2>/dev/null;echo done.;echo -n 'CLIX purging iCab cookies... ';rm -fPr ~/Library/Preferences/iCab\ Preferences/iCab\ Cookies 2>/dev/null;echo done.;echo -n 'CLIX purging Firefox cookies... ';rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/cookies.txt 2>/dev/null;echo done.;echo -n 'CLIX purging OmniWeb cookies... ';rm -fPr ~/Library/Application\ Support/OmniWeb\ 5/Cookies.xml 2>/dev/null;echo done.;echo -n 'CLIX purging Opera cookies... ';rm -fPr ~/Library/Preferences/Opera\ Preferences/cookies* 2>/dev/null;echo done.
Browser History CleanCleanclean all browser historyecho -n 'CLIX cleaning Camino history... ';rm -fr ~/Library/Application\ Support/Camino/history.dat;echo done.;echo -n 'CLIX cleaning Firefox history... ';rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/history.dat;echo done.;echo -n 'CLIX cleaning iCab history... ';rm -fr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/iCab\ Global\ History;echo done.;echo -n 'CLIX cleaning IE history... ';rm -fr ~/Library/Preferences/Explorer/History.html;echo done.;echo -n 'CLIX cleaning Mozilla history... ';rm -fr ~/Library/Mozilla/Profiles/*/*/history.dat;echo done.;echo -n 'CLIX cleaning OmniWeb history... ';rm -fr ~/Library/Application\ Support/OmniWeb\ 5/History*;echo done.;echo -n 'CLIX cleaning Opera history... ';rm -fr ~/Library/Preferences/Opera\ Preferences/Opera\ Direct\ History;rm -fr ~/Library/Preferences/Opera\ Preferences/Opera\ Global\ History;echo done.;echo -n 'CLIX cleaning Safari history... ';rm -fr ~/Library/Safari/History.plist;echo done.;echo -n 'CLIX cleaning Shiira history... ';rm -fr ~/Library/Shiira/History.plist;echo done.
Browser History PurgePurgepurge all browser historyecho -n 'CLIX purging Camino history... ';rm -fPr ~/Library/Application\ Support/Camino/history.dat 2>/dev/null;echo done.;echo -n 'CLIX purging Firefox history... ';rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/history.dat 2>/dev/null;echo done.;echo -n 'CLIX purging iCab history... ';rm -fPr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/iCab\ Global\ History 2>/dev/null;echo done.;echo -n 'CLIX purging IE history... ';rm -fPr ~/Library/Preferences/Explorer/History.html 2>/dev/null;echo done.;echo -n 'CLIX purging Mozilla history... ';rm -fPr ~/Library/Mozilla/Profiles/*/*/history.dat 2>/dev/null;echo done.;echo -n 'CLIX purging OmniWeb history... ';rm -fPr ~/Library/Application\ Support/OmniWeb\ 5/History* 2>/dev/null;echo done.;echo -n 'CLIX purging Opera history... ';rm -fPr ~/Library/Preferences/Opera\ Preferences/Opera\ Direct\ History 2>/dev/null;rm -fPr ~/Library/Preferences/Opera\ Preferences/Opera\ Global\ History 2>/dev/null;echo done.;echo -n 'CLIX purging Safari history... ';rm -fPr ~/Library/Safari/History.plist 2>/dev/null;echo done.;echo -n 'CLIX purging Shiira history... ';rm -fPr ~/Library/Shiira/History.plist 2>/dev/null;echo done.
Builder CleanCleanclean Project Builder and Interface Builder preferencesdefaults delete com.apple.InterfaceBuilder NSDefaultOpenDirectory;defaults delete com.apple.InterfaceBuilder NSWindow\ Frame\ NSColorPanel;defaults delete com.apple.InterfaceBuilder NSWindow\ Frame\ NSFontPanel;defaults delete com.apple.InterfaceBuilder NSRecentDocumentRecords;defaults delete com.apple.ProjectBuilder NSRecentDocumentRecords;defaults delete com.apple.ProjectBuilder NSFontPanelPreviewHeight;defaults delete com.apple.ProjectBuilder NSTableView\ Columns\ CVSModuleTab
Caches CleanCleanclean cachesfind ~/Library/Caches -name com.apple.preferencepanes.cache -exec rm -f {} \;;rm -fr ~/Library/Caches/com.apple.addressservices;rm -fr ~/Library/Caches/Desktop
Caches PurgePurgepurge cachesfind ~/Library/Caches -name com.apple.preferencepanes.cache -exec rm -fP {} \;;rm -fPr ~/Library/Caches/com.apple.addressservices;rm -fPr ~/Library/Caches/Desktop
Calculator CleanCleanclean Calculator filesrm -fr ~/Library/Application\ Support/Calculator ~/Library/Preferences/com.apple.calculator.plist
Calculator PurgePurgepurge Calculator filesrm -fPr ~/Library/Application\ Support/Calculator ~/Library/Preferences/com.apple.calculator.plist
Camino Caches CleanCleanclean Camino cachesecho -n 'CLIX cleaning Camino caches... ';rm -fr ~/Library/Application\ Support/Camino/Cache/*;echo done.
Camino Caches PurgePurgepurge Camino cachesecho -n 'CLIX purging Camino caches... ';rm -fPr ~/Library/Application\ Support/Camino/Cache/* 2>/dev/null;echo done.
Camino CleanCleanclean Camino filesrm -fr /Library/Mozilla ~/Library/Mozilla
Camino PurgePurgepurge Camino filesrm -fPr /Library/Mozilla ~/Library/Mozilla
Clean All CachesCleanclean all cachessudo rm /Library/Caches/*;sudo rm /System/Library/Caches/*;sudo find ~/Library/Caches -type f -exec rm {} \;;sudo sync;sudo sync
Clean Caches & SwapCleanclean caches and swap (and immediately shut down or reboot)sudo rm /Library/Caches/*;sudo rm /System/Library/Caches/*;sudo find ~/Library/Caches -type f -exec rm {} \;;sudo rm -f /private/var/vm/swapfile*;sudo sync;sudo sync
Clean Sweep RebootCleanclean caches and swap and rebootsudo rm -r /Library/Caches/*;sudo rm -r /System/Library/Caches/*;sudo find ~/Library/Caches -type f -exec rm {} \;;sudo rm -f /private/var/vm/swapfile*;sudo sync;sudo sync;sudo reboot
Clean Sweep ShutdownCleanclean caches and swap and shutdownsudo rm -r /Library/Caches/*;sudo rm -r /System/Library/Caches/*;sudo find ~/Library/Caches -type f -exec rm {} \;;sudo rm -f /private/var/vm/swapfile*;sudo sync;sudo sync;sudo shutdown now
Delete Find Indexes /Cleandelete all Find index files on hard drivesudo find / -name \.FBCIndex -exec rm -f {} \;
Delete Find Indexes ~Cleandelete all Find index files in home directorysudo find ~ -name \.FBCIndex -exec rm -f {} \;
Desktop File CleanCleanclean Desktop filessudo rm -f /Desktop\ D*
Desktop File PurgePurgepurge Desktop filessudo rm -fP /Desktop\ D*
Disk Usage II CleanCleanclean temporary disk usage filesudo rm -f /tmp/du.rtx
Disk Usage II PurgeCleanpurge temporary disk usage filesudo rm -fP /tmp/du.rtx
Downloads CleanCleanclean all browser download recordsecho -n 'CLIX cleaning Firefox records... ';rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/downloads.rdf;echo done.;echo -n 'CLIX cleaning iCab records... ';rm -fr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/iCab\ DL-Manager;echo done.;echo -n 'CLIX cleaning Mozilla records... ';rm -fr ~/Library/Mozilla/Profiles/*/*/downloads.rdf;echo done.;echo -n 'CLIX cleaning OmniWeb records... ';defaults delete com.omnigroup.OmniWeb5 OWPersistentDownloadedFileFossils 2>/dev/null;echo done.;echo -n 'CLIX cleaning Opera records... ';rm -fr ~/Library/Preferences/Opera\ Preferences/download.dat;echo done.;echo -n 'CLIX cleaning Safari records... ';rm -fr ~/Library/Safari/Downloads.plist;echo done.;echo -n 'CLIX cleaning Shiira records... ';rm -fr ~/Library/Shiira/Downloads.plist;echo done.
Downloads PurgePurgepurge all browser download recordsecho -n 'CLIX purging Firefox records... ';rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/downloads.rdf 2>/dev/null;echo done.;echo -n 'CLIX purging iCab records... ';rm -fPr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/iCab\ DL-Manager 2>/dev/null;echo done.;echo -n 'CLIX purging Mozilla records... ';rm -fPr ~/Library/Mozilla/Profiles/*/*/downloads.rdf 2>/dev/null;echo done.;echo -n 'CLIX cleaning OmniWeb records... ';defaults delete com.omnigroup.OmniWeb5 OWPersistentDownloadedFileFossils 2>/dev/null;echo done.;echo -n 'CLIX purging Opera records... ';rm -fPr ~/Library/Preferences/Opera\ Preferences/download.dat 2>/dev/null;echo done.;echo -n 'CLIX purging Safari records... ';rm -fPr ~/Library/Safari/Downloads.plist 2>/dev/null;echo done.;echo -n 'CLIX purging Shiira records... ';rm -fPr ~/Library/Shiira/Downloads.plist 2>/dev/null;echo done.
DVD Script CleanCleanclean DVD scriptsrm -fr ~/Library/Application\ Support/DVD\ Player\ Scripts
DVD Script PurgePurgepurge DVD scriptsrm -fPr ~/Library/Application\ Support/DVD\ Player\ Scripts
File Panel Prefs CleanCleanclean file panel preferencesdefaults delete -g NSWindow\ Frame\ NXOpenPanel;defaults delete -g NSWindow\ Frame\ NXSavePanel
File Panel Prefs ReadCleanread file panel preferences (if they exist)defaults read -g NSWindow\ Frame\ NXOpenPanel;defaults read -g NSWindow\ Frame\ NXSavePanel
Finder CleanCleanclean finder preferencesdefaults delete com.apple.finder ClipboardWindowBounds;defaults delete com.apple.finder CopyProgressWindowLocation;defaults delete com.apple.finder recent-folders
Firefox Caches CleanCleanclean Firefox cachesecho -n 'CLIX cleaning Firefox caches... ';rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/Cache/*;rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/Cache.Trash/*;echo done.
Firefox Caches PurgePurgepurge Firefox cachesecho -n 'CLIX purging Firefox caches... ';rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/Cache/* 2>/dev/null;rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/Cache.Trash/* 2>/dev/null;echo done.
Firefox Downloads CleanCleanclean Firefox download recordsecho -n 'CLIX cleaning Firefox records... ';rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/downloads.rdf;echo done.
Firefox Downloads PurgePurgepurge Firefox download recordsecho -n 'CLIX purging Firefox records... ';rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/downloads.rdf 2>/dev/null;echo done.
Full Circle CleanCleanclean Full Circle filesrm -fr ~/Library/Application\ Support/FullCircle;rm -fr ~/Library/Preferences/com.fullsoft.talkback.plist
Full Circle PurgePurgepurge Full Circle filesrm -fPr ~/Library/Application\ Support/FullCircle;rm -fPr ~/Library/Preferences/com.fullsoft.talkback.plist
iCab Caches CleanCleanclean iCab cachesecho -n 'CLIX cleaning iCab caches... ';rm -fr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/*;echo done.
iCab Caches PurgePurgepurge iCab cachesecho -n 'CLIX purging iCab caches... ';rm -fPr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/* 2>/dev/null;echo done.
iCab Downloads CleanCleanclean iCab download recordsecho -n 'CLIX cleaning iCab records... ';rm -fr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/iCab\ DL-Manager;echo done.
iCab Downloads PurgePurgepurge iCab download recordsecho -n 'CLIX purging iCab records... ';rm -fPr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/iCab\ DL-Manager 2>/dev/null;echo done.
Icon Cache CleanCleanclean Dock icon cachefind /Library/Caches -name com.apple.dock.iconcache.* -exec rm -f {} \;
Icon Cache PurgePurgepurge Dock icon cachefind /Library/Caches -name com.apple.dock.iconcache.* -exec rm -fP {} \;
IE Caches CleanCleanclean IE cachesecho -n 'CLIX cleaning IE caches... ';rm -fr ~/Library/Caches/MS\ Internet\ Cache/*;rm -fr ~/Library/Preferences/Explorer/Download\ Cache;rm -fr ~/Library/Preferences/Explorer/Temporary\ Files/*;echo done.
IE Caches PurgePurgepurge IE cachesecho -n 'CLIX purging IE caches... ';rm -fPr ~/Library/Caches/MS\ Internet\ Cache/* 2>/dev/null;rm -fPr ~/Library/Preferences/Explorer/Download\ Cache 2>/dev/null;rm -fPr ~/Library/Preferences/Explorer/Temporary\ Files/* 2>/dev/null;echo done.
Launch Services Caches PurgePurgepurge launch services cachessudo rm -fP /Library/Caches/com.apple.LaunchServices.LocalCache.csstore;rm -fP ~/Library/Caches/com.apple.LaunchServices.UserCache.csstore
Launch Services CleanCleanclean launch services cachessudo rm -f /Library/Caches/com.apple.LaunchServices.LocalCache.csstore;rm -f ~/Library/Caches/com.apple.LaunchServices.UserCache.csstore
Mozilla Caches CleanCleanclean Mozilla cachesecho -n 'CLIX cleaning Mozilla caches... ';rm -fr ~/Library/Mozilla/Profiles/*/*/Cache;echo done.
Mozilla Caches PurgePurgepurge Mozilla cachesecho -n 'CLIX purging Mozilla caches... ';rm -fPr ~/Library/Mozilla/Profiles/*/*/Cache 2>/dev/null;echo done.
Mozilla Downloads CleanCleanclean Mozilla download recordsecho -n 'CLIX cleaning Mozilla records... ';rm -fr ~/Library/Mozilla/Profiles/*/*/downloads.rdf;echo done.
Mozilla Downloads PurgePurgepurge Mozilla download recordsecho -n 'CLIX purging Mozilla records... ';rm -fr ~/Library/Mozilla/Profiles/*/*/downloads.rdf 2>/dev/null;echo done.
OmniWeb Caches CleanCleanclean OmniWeb cachesecho -n 'CLIX cleaning OmniWeb caches... ';rm -fr ~/Library/Caches/com.omnigroup.OmniWeb5/Cache;echo done.
OmniWeb Caches PurgePurgepurge OmniWeb cachesecho -n 'CLIX purging OmniWeb caches... ';rm -fPr ~/Library/Caches/com.omnigroup.OmniWeb5/Cache 2>/dev/null;echo done.
OmniWeb Downloads CleanCleanclean OmniWeb download recordsecho -n 'CLIX cleaning OmniWeb records... ';defaults delete com.omnigroup.OmniWeb5 OWPersistentDownloadedFileFossils 2>/dev/null;echo done.
Opera Caches CleanCleanclean Opera cachesecho -n 'CLIX cleaning Opera caches... ';rm -fr ~/Library/Caches/Opera\ Cache/Cache*;echo done.
Opera Caches PurgePurgepurge Opera cachesecho -n 'CLIX purging Opera caches... ';rm -fPr ~/Library/Caches/Opera\ Cache/Cache* 2>/dev/null;echo done.
Opera Downloads CleanCleanclean Opera download recordsecho -n 'CLIX cleaning Opera records... ';rm -fr ~/Library/Preferences/Opera\ Preferences/download.dat;echo done.
Opera Downloads PurgePurgepurge Opera download recordsecho -n 'CLIX purging Opera records... ';rm -fPr ~/Library/Preferences/Opera\ Preferences/download.dat 2>/dev/null;echo done.
Pref Panes Cache CleanCleanclean preference panes cachefind ~/Library/Caches -name com.apple.preferencepanes.cache -exec rm -f {} \;
Pref Panes Cache PurgePurgepurge preference panes cachefind ~/Library/Caches -name com.apple.preferencepanes.cache -exec rm -fP {} \;
Receipts CleanCleanclean receiptsrm -fr /Library/Receipts/*
Receipts PurgePurgepurge receiptsrm -fPr /Library/Receipts/*
Safari CleanCleanclean Safari filesrm -fr ~/Library/Caches/Safari ~/Library/Cookies ~/Library/Safari/Downloads.plist ~/Library/Safari/History.plist ~/Library/Safari/Icons
Safari Downloads CleanCleanclean Safari download recordsecho -n 'CLIX cleaning Safari records... ';rm -fr ~/Library/Safari/Downloads.plist;echo done.
Safari Downloads PurgePurgepurge Safari download recordsecho -n 'CLIX purging Safari records... ';rm -fPr ~/Library/Safari/Downloads.plist 2>/dev/null;echo done.
Safari Icons CleanCleanclean Safari iconsecho -n 'CLIX cleaning Safari icons... ';rm -fr ~/Library/Safari/Icons/* 2>/dev/null;echo done.
Safari Icons PurgePurgepurge Safari iconsecho -n 'CLIX purging Safari icons... ';rm -fPr ~/Library/Safari/Icons/* 2>/dev/null;echo done.
Safari PurgePurgepurge Safari filesrm -fPr ~/Library/Caches/Safari ~/Library/Cookies ~/Library/Safari/Downloads.plist ~/Library/Safari/History.plist ~/Library/Safari/Icons
Shiira Caches CleanCleanclean Shiira cachesecho -n 'CLIX cleaning Shiira caches... ';rm -fr ~/Library/Caches/Shiira/*;echo done.
Shiira Caches PurgePurgepurge Shiira cachesecho -n 'CLIX purging Shiira caches... ';rm -fPr ~/Library/Caches/Shiira/* 2>/dev/null;echo done.
Shiira Downloads CleanCleanclean Shiira download recordsecho -n 'CLIX cleaning Shiira records... ';rm -fr ~/Library/Shiira/Downloads.plist;echo done.
Shiira Downloads PurgePurgepurge Shiira download recordsecho -n 'CLIX purging Shiira records... ';rm -fPr ~/Library/Shiira/Downloads.plist 2>/dev/null;echo done.
tmp CleanCleanclean /tmpsudo rm -fr /tmp/*;sudo rm -f /tmp/.modemOnHold
tmp PurgePurgepurge /tmpsudo rm -fPr /tmp/*;sudo rm -f /tmp/.modemOnHold

Desktop

Accept Cookies AlwaysSafariset Safari to always accept cookiesdefaults write com.apple.WebFoundation WebAcceptCookies always
Accept Cookies CurrentSafariset Safari to only accept cookies from your current pagedefaults write com.apple.WebFoundation WebAcceptCookies current\ page
Accept Cookies NeverSafariset Safari to never accept cookiesdefaults write com.apple.WebFoundation WebAcceptCookies never
Accept Cookies ReadSafariread Safari's accept cookies policydefaults read com.apple.WebFoundation WebAcceptCookies
Accept Cookies RestoreSafarirestore accept cookies toggledefaults delete com.apple.WebFoundation WebAcceptCookies
AddressesMailshow addresses in AddressBookstrings ~/Library/Application\ Support/AddressBook/AddressBook.data | grep -v bplist | grep @
Always Show Tabs OffSafariturn off always showing tab bardefaults write com.apple.Safari AlwaysShowTabBar -bool NO
Always Show Tabs OnSafariturn on always showing tab bardefaults write com.apple.Safari AlwaysShowTabBar -bool YES
Always Show Tabs ReadSafariread status of always showing tab bardefaults read com.apple.Safari AlwaysShowTabBar
Always Show Tabs RestoreSafarirestore default status of always showing tab bardefaults delete com.apple.Safari AlwaysShowTabBar
AM/PM Designation.Globalshow AM/PM designationdefaults read -g NSAMPMDesignation
Animate Info Panes OffFinderturn info pane animation offdefaults delete com.apple.finder AnimateInfoPanes;killall Finder
Animate Info Panes OnFinderturn info pane animation ondefaults write com.apple.finder AnimateInfoPanes -bool YES;killall Finder
Animate Info Panes ReadFinderread info pane animation flagdefaults read com.apple.finder AnimateInfoPanes
Animate Window Zoom OffFinderturn window zoom animation offdefaults delete com.apple.finder AnimateWindowZoom;killall Finder
Animate Window Zoom OnFinderturn info pane animation ondefaults write com.apple.finder AnimateWindowZoom -bool YES;killall Finder
Animate Window Zoom ReadFinderread window zoom animation flagdefaults read com.apple.finder AnimateWindowZoom
Antialias Smooth Fonts DefaultsSafarirestore antialiasing and smooth font defaultsdefaults delete com.apple.Safari AppleAntiAliasingThreshold;defaults delete com.apple.Safari AppleSmoothFontsSizeThreshold
Antialias Smooth Fonts HighSafariset antialiasing and smooth font values highdefaults write com.apple.Safari AppleAntiAliasingThreshold -integer 8;defaults write com.apple.Safari AppleSmoothFontsSizeThreshold -integer 8
Antialias Smooth Fonts HighSafariset antialiasing and smooth font values highdefaults write com.apple.Safari AppleAntiAliasingThreshold -int 8;defaults write com.apple.Safari AppleSmoothFontsSizeThreshold -int 8
Antialias Smooth Fonts LowSafariset antialiasing and smooth font values lowdefaults write com.apple.Safari AppleAntiAliasingThreshold -integer 2;defaults write com.apple.Safari AppleSmoothFontsSizeThreshold -integer 2
Antialias Smooth Fonts LowSafariset antialiasing and smooth font values lowdefaults write com.apple.Safari AppleAntiAliasingThreshold -int 2;defaults write com.apple.Safari AppleSmoothFontsSizeThreshold -int 2
Antialias Smooth Fonts ReadSafariread antialiasing and smooth font settings (if they exist)defaults read com.apple.Safari AppleAntiAliasingThreshold;defaults read com.apple.Safari AppleSmoothFontsSizeThreshold
Antialiasing Threshold.Globalshow antialiasing thresholddefaults read -g AppleAntiAliasingThreshold
Append AMPMMenu Bar Clockread appending 'AM' and 'PM' statusdefaults read com.apple.MenuBarClock AppendAMPM
Autohide OffDockturn hiding offdefaults delete com.apple.dock autohide;killall Dock
Autohide OnDockturn hiding ondefaults write com.apple.dock autohide -bool YES;killall Dock
Autohide ReadDockread hiding flagdefaults read com.apple.dock autohide
Autolaunched Application DictionaryLogin Windowshow autolaunched application dictionarydefaults read loginwindow AutoLaunchedApplicationDictionary
Autoopen OffSafariturn off automatically opening 'safe' downloads (VERY SMART)defaults write com.apple.Safari AutoOpenSafeDownloads -bool NO
Autoopen OnSafariturn on automatically opening 'safe' downloads (REALLY DUMB)defaults write com.apple.Safari AutoOpenSafeDownloads -bool YES
Autoopen ReadSafariread status of automatically opening 'safe' downloadsdefaults read com.apple.Safari AutoOpenSafeDownloads
Autoopen RestoreSafarirestore default status of automatically opening 'safe' downloadsdefaults delete com.apple.Safari AutoOpenSafeDownloads
Beep Feedback Off.Globalturn beep feedback offdefaults write -g com.apple.sound.beep.feedback -int 0;killall Finder
Beep Feedback On.Globalturn beep feedback ondefaults write -g com.apple.sound.beep.feedback -int 1;killall Finder
Beep Feedback Read.Globalread beep feedback flagdefaults read -g com.apple.sound.beep.feedback
Beep Feedback Restore.Globalrestore default beep feedbackdefaults delete -g com.apple.sound.beep.feedback;killall Finder
Beep Sound.Globalshow path to default beep sounddefaults read -g com.apple.sound.beep.sound
Bluetooth Autodetect OnAddress Bookturn on bluetooth detectdefaults write com.apple.AddressBook ABCheckForPhoneNextTime -bool YES
Bluetooth Autodetect RestoreAddress Bookrestore default bluetooth detect behaviourdefaults delete com.apple.AddressBook ABCheckForPhoneNextTime
Bookmarks DateSafariread bookmarks datedefaults read com.apple.Safari BuiltInBookmarksDate
Bookmarks TagSafariread bookmarks tagdefaults read com.apple.Safari BuiltInBookmarksTag
Build Version Stamp NumberLogin Windowshow build version stamp as numberdefaults read loginwindow BuildVersionStampAsNumber
Build Version Stamp StringLogin Windowshow build version stamp as stringdefaults read loginwindow BuildVersionStampAsString
Caches OffSafaristop cachingrm -fr ~/Library/Caches/Safari;ln -s /dev/null ~/Library/Caches/Safari
Caches OnSafariallow cachingrm ~/Library/Caches/Safari
Close View OffDesktopturn off close view (desktop magnifier with option-cmd-[-|+])defaults delete com.apple.universalaccess closeViewDriver
Close View OnDesktopturn on close view (desktop magnifier with option-cmd-[-|+])defaults write com.apple.universalaccess closeViewDriver -bool YES
Cmd-CommaUser Keysset cmd-comma as shortcut for 'Preferences...'defaults write -g NSUserKeyEquivalents -dict-add "Preferences..." "@\U002C"
Colour Variant Aqua.Globalset color variant to Aquadefaults write -g AppleAquaColorVariant -int 1;killall Finder
Colour Variant Graphite.Globalset color variant to graphitedefaults write -g AppleAquaColorVariant -int 6;killall Finder
Colour Variant Read.Globalread color variantdefaults read -g AppleAquaColorVariant
Command Option SpaceHI Toolboxshow status of cmd-option-space toggledefaults read com.apple.HIToolbox AppleCommandOptionSpace
Configuration URLiDiskshow URL for iDisk configurationdefaults read com.apple.internetpref configurationURL
Ctrl Cmd QuitUser Keysset ctrl-cmd-Q as quit shortcut (Safari as example)defaults write -g NSUserKeyEquivalents -dict-add "Quit Safari" "^@Q"
Ctrl-Shift-Option-Cmd-DeleteUser Keysset ctrl-shift-option-cmd-delete as shortcut for 'Delete' (using all four modifiers)defaults write -g NSUserKeyEquivalents -dict-add "Delete" "^$~@\U0008"
Dashboard DisableDashboarddisable Dashboarddefaults write com.apple.dashboard mcx-disabled -boolean YES
Dashboard EnableDashboardenable Dashboarddefaults write com.apple.dashboard mcx-disabled -boolean NO
Dashboard ReadDashboardshow Dashboard statusdefaults read com.apple.dashboard mcx-disabled
Dashboard RestoreDashboardrestore default Dashboard behaviourdefaults delete com.apple.dashboard mcx-disabled
Date Format.Globalshow date formatdefaults read -g NSDateFormatString
Date OrderHI Toolboxshow system date orderdefaults read com.apple.HIToolbox AppleDateOrder
Debug Menu OffAddress Bookdon't show debug menudefaults delete com.apple.addressbook ABShowDebugMenu
Debug Menu OnAddress Bookshow debug menudefaults write com.apple.addressbook ABShowDebugMenu -bool YES
Debug Menu ReadAddress Bookread debug menu flagdefaults read com.apple.addressbook ABShowDebugMenu
Default Open DirectorySafariread default open directorydefaults read com.apple.Safari NSDefaultOpenDirectory
Digital ClockMenu Bar Clockread digital clock statusdefaults read com.apple.MenuBarClock ClockDigital
Disable AnimationsFinderturn animations offdefaults write com.apple.finder DisableAllAnimations -bool YES;killall Finder
Display SecondsMenu Bar Clockread seconds display statusdefaults read com.apple.MenuBarClock DisplaySeconds
Drag DelayDesktopshow drag delaydefaults read -g NSDragAndDropTextDelay
Drag Delay 100Desktopset drag delay to 100 millisecondsdefaults write -g NSDragAndDropTextDelay -int 100
Drag Delay DisableDesktopdisable drag (set delay to negative value)defaults write -g NSDragAndDropTextDelay -int -1
Drag Delay RestoreDesktoprestore default drag delaydefaults delete -g NSDragAndDropTextDelay
DVD Player Debug OffDVD Playerdisable debug menudefaults delete com.apple.dvdplayer EnableDebugging
DVD Player Debug OnDVD Playerenable debug menudefaults write com.apple.dvdplayer EnableDebugging -bool YES
DVD Player Debug ReadDVD Playerread debug menu flagdefaults read com.apple.dvdplayer EnableDebugging
Enable AnimationsFinderturn animations ondefaults delete com.apple.finder DisableAllAnimations;killall Finder
EnabledMenu Bar Clockread status of menu bar clockdefaults read com.apple.MenuBarClock ClockEnabled
ExposŽ Blob OffExposŽdisable ExposŽ blobdefaults write com.apple.dock wvous-floater -bool NO;killall Dock
ExposŽ Blob OnExposŽenable ExposŽ blobdefaults write com.apple.dock wvous-floater -bool YES; killall Dock
ExposŽ Corners OffExposŽremove semicircles in ExposŽ cornersdefaults write com.apple.dock wvous-showcorners -bool NO; killall Dock
ExposŽ Corners OnExposŽshow semicircles in ExposŽ cornersdefaults write com.apple.dock wvous-showcorners -bool YES; killall Dock
Externs In Existing OffSafariturn off opening external links in existing windowdefaults write com.apple.Safari OpenExternalLinksInExistingWindow -bool NO
Externs In Existing OnSafariturn on opening external links in existing windowdefaults write com.apple.Safari OpenExternalLinksInExistingWindow -bool YES
Externs In Existing ReadSafariread toggle of opening external links in existing windowdefaults read com.apple.Safari OpenExternalLinksInExistingWindow
Externs In Existing RestoreSafarirestore default behaviour for opening external links in existing windowdefaults delete com.apple.Safari OpenExternalLinksInExistingWindow
Favicons OffSafaristop storing of faviconsrm -fr ~/Library/Safari/Icons;ln -s /dev/null ~/Library/Safari/Icons
Favicons OnSafariallow storing of faviconsrm ~/Library/Safari/Icons
Finder Quit OffFinderturn Finder Quit menu item offdefaults delete com.apple.finder QuitMenuItem;killall Finder
Finder Quit OnFinderturn Finder Quit menu item ondefaults write com.apple.finder QuitMenuItem -bool YES;killall Finder
Finder Quit ReadFinderread Finder Quit menu item flagdefaults read com.apple.finder QuitMenuItem
Flash SeparatorsMenu Bar Clockread flash separators statusdefaults read com.apple.MenuBarClock FlashSeparators
Flash Update VersionDesktopshow Flash update versioncurl -s http://fpdownload.macromedia.com /pub/flashplayer/update/current/install/version.xml | grep 'update version'
Focus Follow Mouse OnTerminalmake terminal window focus follow the mousedefaults write com.apple.terminal FocusFollowsMouse -string YES
Focus Follow Mouse ReadTerminalread terminal window focus statusdefaults read com.apple.terminal FocusFollowsMouse
Focus Follow Mouse RestoreTerminalrestore normal terminal window focusdefaults delete com.apple.terminal FocusFollowsMouse
Google OffSafariremove Google from address bardefaults write com.apple.Safari AddressBarIncludesGoogle -bool NO
Google OnSafariput Google on address bardefaults write com.apple.Safari AddressBarIncludesGoogle -bool YES
Google ReadSafariread status of Google in address bardefaults read com.apple.Safari AddressBarIncludesGoogle
Google RestoreSafarirestore default status of Google in address bardefaults delete com.apple.Safari AddressBarIncludesGoogle
IE Favorites Imported OffSafariflag IE favorites not importeddefaults write com.apple.Safari IEFavoritesWereImported -bool NO
IE Favorites Imported OnSafariflag IE favorites importeddefaults write com.apple.Safari IEFavoritesWereImported -bool YES
IE Favorites Imported ReadSafariread IE favorites were imported flagdefaults read com.apple.Safari IEFavoritesWereImported
IE Favorites Imported RestoreSafarirestore default IE favorites imported flagdefaults delete com.apple.Safari IEFavoritesWereImported
Ignore Typing Filter.Globalshow ignore typing filterdefaults read -g com.apple.mouse.ignoreTypingFilter
Include Debug Menu OffSafaridon't show debug menudefaults write com.apple.Safari IncludeDebugMenu -bool NO
Include Debug Menu OnSafarishow debug menudefaults write com.apple.Safari IncludeDebugMenu -bool YES
Include Debug Menu ReadSafariread debug menu flagdefaults read com.apple.Safari IncludeDebugMenu
Include Debug Menu RestoreSafarirestore default debug menu statusdefaults delete com.apple.Safari IncludeDebugMenu
Index PublishSpotlightpublish indexes to drivesudo mdutil -p /
Index StatusSpotlightshow Spotlight index statussudo mdutil -s /
Indexing OffSpotlightturn Spotlight indexing offsudo mdutil -i off /
Indexing OnSpotlightturn Spotlight indexing onsudo mdutil -i on /
Initial Timed Delay MinimiseSafariminimise Safari initial timed delaydefaults write com.apple.Safari WebKitInitialTimedLayoutDelay 0.000001
Initial Timed Delay ReadSafariread Safari initial timed delaydefaults read com.apple.Safari WebKitInitialTimedLayoutDelay
Initial Timed Delay RestoreSafarirestore Safari initial timed delaydefaults delete com.apple.Safari WebKitInitialTimedLayoutDelay
iPod CopyiPodcopy iPod songs to hard drive ( is the iPod volume)cp -R /Volumes//iPod_Control ~/Documents
Itlc General FlagsHI Toolboxshow system itlc general flagsdefaults read com.apple.HIToolbox AppleItlcGenFlags
Java OffSafariturn off Javadefaults write com.apple.Safari WebKitJavaEnabled -bool NO
Java OnSafariturn on Javadefaults write com.apple.Safari WebKitJavaEnabled -bool YES
Java ReadSafariread status of Javadefaults read com.apple.Safari WebKitJavaEnabled
Java RestoreSafarirestore default Java statusdefaults delete com.apple.Safari WebKitJavaEnabled
JavaScript OffSafariturn off JavaScriptdefaults write com.apple.Safari WebKitJavaScriptEnabled -bool NO
JavaScript OnSafariturn on JavaScriptdefaults write com.apple.Safari WebKitJavaScriptEnabled -bool YES
JavaScript ReadSafariread status of JavaScriptdefaults read com.apple.Safari WebKitJavaScriptEnabled
JavaScript RestoreSafarirestore default JavaScript statusdefaults delete com.apple.Safari WebKitJavaScriptEnabled
Key EquivalentsUser Keysread key equivalentsdefaults read -g NSUserKeyEquivalents
Key Equivalents RemoveUser Keysdelete all key equivalentsdefaults delete -g NSUserKeyEquivalents
Languages.Globalshow preferred languages in order of preferencedefaults read -g AppleLanguages
Large Size ReadDockread icon large sizedefaults read com.apple.dock largesize
Last Version RunSafariread last version rundefaults read com.apple.Safari LastVersionRun
Launch Animation OffDockturn launch animation offdefaults write com.apple.dock launchanim -bool NO;killall Dock
Launch Animation OnDockturn launch animation ondefaults write com.apple.dock launchanim -bool YES;killall Dock
Launch Animation ReadDockread launch animation flagdefaults read com.apple.dock launchanim
Launch Animation RestoreDockrestore default launch animation flagdefaults delete com.apple.dock launchanim;killall Dock
Local Info DefaultiTunesmake click (w/o option) default to show local infodefaults write com.apple.iTunes invertStoreLinks -bool YES
Local Info RestoreiTunesrestore default click local info click actiondefaults delete com.apple.iTunes invertStoreLinks
Magnification OffDockturn off Dock magnificationdefaults delete com.apple.dock magnification;killall Dock
Magnification OnDockturn on Dock magnificationdefaults write com.apple.dock magnification -bool YES;killall Dock
Magnification ReadDockread magnification flagdefaults read com.apple.dock magnification
Make File ExecutableTerminalmakes a text file a UNIX executablechmod +x[path to file]
Max Label Lines 1Finderset maximum label lines to 1defaults write com.apple.finder MaximumLabelLines -int 1;killall Finder
Max Label Lines 1Finderset maximum label lines to 1defaults write com.apple.finder MaximumLabelLines -integer 1;killall Finder
Max Label Lines 2Finderset maximum label lines to 2defaults write com.apple.finder MaximumLabelLines -int 2;killall Finder
Max Label Lines 2Finderset maximum label lines to 2defaults write com.apple.finder MaximumLabelLines -integer 2;killall Finder
Max Label Lines 3Finderset maximum label lines to 3defaults write com.apple.finder MaximumLabelLines -int 3;killall Finder
Max Label Lines 3Finderset maximum label lines to 3defaults write com.apple.finder MaximumLabelLines -integer 3;killall Finder
Max Label Lines DefaultFinderset maximum label lines to defaultdefaults delete com.apple.finder MaximumLabelLines;killall Finder
Max Label Lines ReadFinderread maximum label lines valuedefaults read com.apple.finder MaximumLabelLines
MeAddress Bookshow info on 'me' accountdefaults read AddressBookMe
Mineffect DefaultDockuse default mineffectdefaults delete com.apple.dock mineffect;killall Dock
Mineffect GenieDockuse Genie mineffectdefaults write com.apple.dock mineffect -string genie;killall Dock
Mineffect ReadDockread mineffect valuedefaults read com.apple.dock mineffect
Mineffect ScaleDockuse Scale mineffectdefaults write com.apple.dock mineffect -string scale;killall Dock
Mineffect SuckDockuse Suck mineffectdefaults write com.apple.dock mineffect -string suck;killall Dock
Minimum HTML Font SizeMailset minimum HTML font sizedefaults write com.apple.mail MinimumHTMLFontSize 14
Modification CountDockread dock modification countdefaults read com.apple.dock mod-count
Modify iTunes Link ArrowsiTunesarrows jump to ITMSdefaults write com.apple.iTunes invertStoreLinks -boolean NO
Modify iTunes Link ArrowsiTunesarrows jump to librarydefaults write com.apple.iTunes invertStoreLinks -boolean YES
Month Names.Globalshow month namesdefaults read -g NSMonthNameArray
N/M Favorites Imported OffSafariflag Netscape/Mozilla favorites not importeddefaults write com.apple.Safari NetscapeAndMozillaFavoritesWereImported -bool NO
N/M Favorites Imported OnSafariflag Netscape/Mozilla favorites importeddefaults write com.apple.Safari NetscapeAndMozillaFavoritesWereImported -bool YES
N/M Favorites Imported ReadSafariread Netscape/Moz favorites imported flagdefaults read com.apple.Safari NetscapeAndMozillaFavoritesWereImported
N/M Favorites Imported RestoreSafarirestore default Netscape/Mozilla favorites imported flagdefaults delete com.apple.Safari NetscapeAndMozillaFavoritesWereImported
Opaqueness ReadTerminalread opaquenessdefaults read com.apple.Terminal TerminalOpaqueness
Opaqueness RestoreTerminalrestore default opaquenessdefaults delete com.apple.Terminal TerminalOpaqueness
Opaqueness Set LowTerminalset low opaquenessdefaults write com.apple.Terminal TerminalOpaqueness 0.2
Opaqueness Set MediumTerminalset medium opaquenessdefaults write com.apple.Terminal TerminalOpaqueness 0.7
Option Click Cursor OffTerminaldisable option click cursor movedefaults delete com.apple.Terminal OptionClickToMoveCursor
Option Click Cursor OnTerminalenable option click cursor movedefaults write com.apple.Terminal OptionClickToMoveCursor -bool YES
Option Cmd QuitUser Keysset option-cmd-Q as quit shortcut (Safari as example)defaults write -g NSUserKeyEquivalents '{""Quit Safari" = "~@Q";}'
Orientation BottomDockput Dock at bottom of desktopdefaults write com.apple.dock orientation -string bottom;killall Dock
Orientation LeftDockput Dock at left of desktopdefaults write com.apple.dock orientation -string left;killall Dock
Orientation ReadDockread orientation valuedefaults read com.apple.dock orientation
Orientation RightDockput Dock at right of desktopdefaults write com.apple.dock orientation -string right;killall Dock
Orientation TopDockput Dock on top of desktopdefaults write com.apple.dock orientation -string top;killall Dock
Other Highlight Color.Globalshow other highlight colourdefaults read -g AppleOtherHighlightColor
Persistent AppsDockread persistent Dock apps in placement order (Finder assumed)defaults read com.apple.dock persistent-apps | grep "file-label" | sed ``/"\"file-label\" = "/s///'' | sed ``/\;/s///'' | sed ``/\"/s///'' | sed ``/\"/s///'' | sed ``/" "/s///''
Persistent Apps PathsDockread persistent dock apps paths in placement order (Finder assumed)defaults read com.apple.dock persistent-apps | grep _CFURLString\" | sed s/\"\;// | sed s/" \"_CFURLString\" = \""//
Persistent Apps Paths SortedDockread persistent dock apps paths sorted alphabetically (Finder assumed)defaults read com.apple.dock persistent-apps | grep _CFURLString\" | sed s/\"\;// | sed s/" \"_CFURLString\" = \""// | sort
Persistent Apps SortedDockread persistent Dock apps sorted alphabetically (Finder assumed)defaults read com.apple.dock persistent-apps | grep "file-label" | sed ``/"\"file-label\" = "/s///'' | sed ``/\;/s///'' | sed ``/\"/s///'' | sed ``/\"/s///'' | sed ``/" "/s///'' | sort
Persistent OthersDockshow persistent others on dockdefaults read com.apple.dock persistent-others
Pinning EndDockpin Dock at end of its sidedefaults write com.apple.dock pinning -string end;killall Dock
Pinning MiddleDockpin Dock in middle of its sidedefaults delete com.apple.dock pinning;killall Dock
Pinning ReadDockread pinning valuedefaults read com.apple.dock pinning
Pinning StartDockpin Dock at start of its sidedefaults write com.apple.dock pinning -string start;killall Dock
Plugins OffSafariturn off pluginsdefaults write com.apple.Safari WebKitPluginsEnabled -bool NO
Plugins OnSafariturn on pluginsdefaults write com.apple.Safari WebKitPluginsEnabled -bool YES
Plugins ReadSafariread status of pluginsdefaults read com.apple.Safari WebKitPluginsEnabled
Plugins RestoreSafarirestore default plugins statusdefaults delete com.apple.Safari WebKitPluginsEnabled
Prefer Plain Text OnMailforce Mail to only display plain textdefaults write com.apple.mail PreferPlainText -bool YES
Prefer Plain Text ReadMailread Prefer Plain Text settingdefaults read com.apple.mail PreferPlainText
Prefer Plain Text RestoreMailrestore Prefer Plain Text defaultdefaults delete com.apple.mail PreferPlainText
Preferences VersionMenu Bar Clockread preferences versiondefaults read com.apple.MenuBarClock PreferencesVersion
Prohibit Burn OffFinderallow burning mediadefaults delete com.apple.finder ProhibitBurn;killall Finder
Prohibit Burn OnFinderprohibit burning mediadefaults write com.apple.finder ProhibitBurn -bool YES;killall Finder
Prohibit Connect To OffFinderallow use of 'Connect To'defaults delete com.apple.finder ProhibitConnectTo;killall Finder
Prohibit Connect To OnFinderprohibit use of 'Connect To'defaults write com.apple.finder ProhibitConnectTo -bool YES;killall Finder
Prohibit Eject OffFinderallow use of 'Eject'defaults delete com.apple.finder ProhibitEject;killall Finder
Prohibit Eject OnFinderprohibit use of 'Eject'defaults write com.apple.finder ProhibitEject -bool YES;killall Finder
Prohibit Empty Trash OffFinderallow emptying trashdefaults delete com.apple.finder ProhibitEmptyTrash;killall Finder
Prohibit Empty Trash OnFinderprohibit emptying trashdefaults write com.apple.finder ProhibitEmptyTrash -bool YES;killall Finder
Prohibit Goto Folder OffFinderallow use of 'Goto Folder'defaults delete com.apple.finder ProhibitGoToFolder;killall Finder
Prohibit Goto Folder OnFinderprohibit 'Goto Folder'defaults write com.apple.finder ProhibitGoToFolder -bool YES;killall Finder
Prohibit Goto iDisk OffFinderallow access to iDiskdefaults delete com.apple.finder ProhibitGoToiDisk;killall Finder
Prohibit Goto iDisk OnFinderprohibit access to iDiskdefaults write com.apple.finder ProhibitGoToiDisk -bool YES;killall Finder
Prohibit Preferences OffFinderallow use of preferencesdefaults delete com.apple.finder ProhibitFinderPreferences;killall Finder
Prohibit Preferences OnFinderprohibit use of preferencesdefaults write com.apple.finder ProhibitFinderPreferences -bool YES;killall Finder
QuitFinder OffDockdon't show Quit item on Finder's Dock menudefaults delete com.apple.dock QuitFinder;killall Dock
QuitFinder OnDockshow Quit item on Finder's Dock menudefaults write com.apple.dock QuitFinder -bool YES;killall Dock
QuitFinder ReadDockread Quit Finder flagdefaults read com.apple.dock QuitFinder
Recent Menu Limit 10Safarilimit number of recent menu items to 10defaults write RecentHistoryMenuItemsLimit 10
Recent Menu Limit ReadSafarilimit number of recent menu itemsdefaults read RecentHistoryMenuItemsLimit
Recent Menu Limit RestoreSafarilimit number of recent menu itemsdefaults delete RecentHistoryMenuItemsLimit
Recent SearchesSafarishow recent search stringsdefaults read com.apple.safari RecentSearchStrings
Recent Searches CleanSafariclean recent search stringsdefaults delete com.apple.safari RecentSearchStrings
Recents LimitDesktopshow recent documents limitdefaults read -g NSRecentDocumentsLimit
Recents Limit 0Desktopset recent documents limit to 0defaults write -g NSRecentDocumentsLimit -int 0
Recents Limit 10Desktopset recent documents limit to 10defaults write -g NSRecentDocumentsLimit -int 10
Remove IndexesSpotlightremove Spotlight indexessudo mdutil -E /
Remove StoreSpotlightremove Spotlight storesudo rm -fr /.Spotlight-V100
Report Bug OnSafarishow 'Report Bug' in address bardefaults write com.apple.Safari AddressBarIncludesReportBug -bool YES
Report Bug ReadSafariread status of 'Report Bug' in address bardefaults read com.apple.Safari AddressBarIncludesReportBug
Report Bug RestoreSafarirestore default status of 'Report Bug' in address bardefaults delete com.apple.Safari AddressBarIncludesReportBug
Scroll Bar DoubleBoth.Globaluse scroll bar variant DoubleBothdefaults write -g AppleScrollBarVariant -string DoubleBoth;killall Finder
Scroll Bar DoubleMax.Globaluse scroll bar variant DoubleMaxdefaults write -g AppleScrollBarVariant -string DoubleMax;killall Finder
Scroll Bar DoubleMin.Globaluse scroll bar variant DoubleMindefaults write -g AppleScrollBarVariant -string DoubleMin;killall Finder
Scroll Bar Read.Globalread scroll bar variantdefaults read -g AppleScrollBarVariant
Scroll Bar Single.Globaluse scroll bar variant Singledefaults write -g AppleScrollBarVariant -string Single;killall Finder
Shadow OffDockdon't show shadow in Dockdefaults delete com.apple.dock showshadow;killall Dock
Shadow OnDockshow shadow in Dockdefaults write com.apple.dock showshadow -bool YES;killall Dock
Shadow ReadDockread shadow flagdefaults read com.apple.dock showshadow
Shift Cmd QuitUser Keysset shift-cmd-Q as quit shortcut (Safari as example)defaults write -g NSUserKeyEquivalents '{""Quit Safari" = "@Q";}'
Short Date Format.Globalshow short date formatdefaults read -g NSShortDateFormatString
Short Date FormatHI Toolboxshow system short date formatdefaults read com.apple.HIToolbox AppleShortDateFormat
Short Date SeparatorHI Toolboxshow system short date separatordefaults read com.apple.HIToolbox AppleShortDateSeparator
Short Month Names.Globalshow short month namesdefaults read -g NSShortMonthNameArray
Short Weekdays.Globalshow short weekdaysdefaults read -g NSShortWeekDayNameArray
Show All Extensions Off.Globalturn off extensions in Finder and file dialogsdefaults delete -g AppleShowAllFiles;killall Finder
Show All Extensions On.Globalturn on extensions in Finder and file dialogsdefaults write -g AppleShowAllFiles -bool YES;killall Finder
Show All Files OffDockdon't show all files in Dockdefaults delete com.apple.dock AppleShowAllFiles;killall Dock
Show All Files OffFinderdon't show all files in Finderdefaults delete com.apple.finder AppleShowAllFiles;killall Finder
Show All Files OnDockshow all files in Dockdefaults write com.apple.dock AppleShowAllFiles -bool YES;killall Dock
Show All Files OnFindershow all files in Finderdefaults write com.apple.finder AppleShowAllFiles -bool YES;killall Finder
Show All Files ReadDockread show all files flagdefaults read com.apple.dock AppleShowAllFiles
Show All Files ReadFinderread show all files flagdefaults read com.apple.finder AppleShowAllFiles
Show DayMenu Bar Clockread day display statusdefaults read com.apple.MenuBarClock ShowDay
Show Desktop Window OffExposŽshow ordinary desktopdefaults write com.apple.dock wvous-olddesktop -bool YES; killall Dock
Show Desktop Window OnExposŽshows desktop in a minimised windowdefaults write com.apple.dock wvous-olddesktop -bool NO;killall Dock
Show Hidden OffDockdon't show hidden files in Dockdefaults delete com.apple.dock showhidden;killall Dock
Show Hidden OnDockshow hidden files in Dockdefaults write com.apple.dock showhidden -bool YES;killall Dock
Show Hidden ReadDockread hidden files flagdefaults read com.apple.dock showhidden
Show QuartzQuartzshow Quartz drawing (Safari as example)/Applications/Safari.app/Contents/MacOS/Safari -NSShowAllDrawing YES -NSShowAllViews YES -NSShowAllWindows YES &
Show Quartz AllQuartzshow all Quartz drawing (Mail as example)/Applications/Mail.app/Contents/MacOS/Mail -NSDebugViewDrawing YES -NSDrawAllViews YES -NSMeasureViewDrawing YES -NSShowAllDrawing YES -NSShowAllDrawingColor YES -NSShowAllViews YES -NSShowAllWindows YES &
Spell Checking OffSafariturn off spell checkingdefaults write com.apple.Safari WebContinuousSpellCheckingEnabled -bool NO
Spell Checking OnSafariturn on spell checkingdefaults write com.apple.Safari WebContinuousSpellCheckingEnabled -bool YES
Spell Checking ReadSafarishow spell checking statusdefaults read com.apple.Safari WebContinuousSpellCheckingEnabled
Spell Checking RestoreSafarirestore default spell checking statusdefaults delete com.apple.Safari WebContinuousSpellCheckingEnabled
Spell Server Language.Globalshow preferred spell server languagedefaults read -g NSPreferredSpellServerLanguage
Spell Server Vendors.Globalshow preferred spell server vendorsdefaults read -g NSPreferredSpellServerVendors
Status Bar OffSafaritoggle status bar offdefaults write com.apple.Safari ShowStatusBar -bool NO
Status Bar OnSafaritoggle status bar ondefaults write com.apple.Safari ShowStatusBar -bool YES
Status Bar ReadSafariread toggle of status bardefaults read com.apple.Safari ShowStatusBar
Status Bar RestoreSafarirestore default toggle of status bardefaults delete com.apple.Safari ShowStatusBar
System UI ServerDesktopshow UI server menuletsdefaults read com.apple.systemuiserver
System Version Stamp NumberLogin Windowshow system version stamp as numberdefaults read loginwindow SystemVersionStampAsNumber
System Version Stamp StringLogin Windowshow system version stamp as stringdefaults read loginwindow SystemVersionStampAsString
Tabbed Browsing OffSafariturn off tabbed browsingdefaults write com.apple.Safari TabbedBrowsing -bool NO
Tabbed Browsing OnSafariturn on tabbed browsingdefaults write com.apple.Safari TabbedBrowsing -bool YES
Tabbed Browsing ReadSafariread tabbed browsing statusdefaults read com.apple.Safari TabbedBrowsing
Tabbed Browsing RestoreSafarirestore tabbed browsing defaultdefaults delete com.apple.Safari TabbedBrowsing
Tile SizeDockshow tile sizedefaults read com.apple.dock tilesize
Time CycleHI Toolboxshow system time cycledefaults read com.apple.HIToolbox AppleTimeCycle
Time Format.Globalshow time formatdefaults read -g NSTimeFormatString
Trash CleanTrashclean ~/.Trash directorysudo rm -fr ~/.Trash/*
Trash Full OffDockset trash to emptydefaults write com.apple.dock trash-full -bool NO;killall Dock
Trash Full OnDockset trash to fulldefaults write com.apple.dock trash-full -bool YES;killall Dock
Trash Full ReadDockshow trash full statusdefaults read com.apple.dock trash-full
Trash PurgeTrashpurge ~/.Trash directorysudo rm -fPr ~/.Trash/*
Unexpected Quit BypassCrashReporterbypass the Unexpected Quit dialog (show submit screen)defaults write com.apple.CrashReporter DialogType crashreport
Unexpected Quit DefaultCrashReporterturn on default Unexpected Quit dialogdefaults delete com.apple.CrashReporter DialogType
Unexpected Quit OffCrashReporterturn off Unexpected Quit dialogdefaults write com.apple.CrashReporter DialogType none
User Idle TimeoutiChatset user idle timeout (seconds)defaults write com.apple.ichatagent UserIdleTimeout 600
User Idle Timeout ReadiChatshow user idle timeout (seconds)defaults read com.apple.ichatagent UserIdleTimeout
User Idle Timeout RestoreiChatset default user idle timeoutdefaults delete com.apple.ichatagent UserIdleTimeout
WebKit History Limit 25Safariset history entry limit to 25defaults write com.apple.Safari WebKitHistoryItemLimit 25
WebKit History Limit ReadSafariread history entry limitdefaults read com.apple.Safari WebKitHistoryItemLimit
WebKit History Limit RestoreSafarirestore history entry limitdefaults delete com.apple.Safari WebKitHistoryItemLimit
WebKit Minimum Fixed FontSafariset fixed font minimum sizedefaults write com.apple.Safari WebKitMinimumFixedFontSize 10
WebKit Minimum Fixed Font ReadSafariread fixed font minimum sizedefaults read com.apple.Safari WebKitMinimumFixedFontSize
WebKit Minimum Fixed Font RestoreSafarirestore fixed font minimum sizedefaults delete com.apple.Safari WebKitMinimumFixedFontSize
WebKit Minimum FontSafariset font minimum sizedefaults write com.apple.Safari WebKitMinimumFontSize 10
WebKit Minimum Font ReadSafariread font minimum sizedefaults read com.apple.Safari WebKitMinimumFontSize
WebKit Minimum Font RestoreSafarirestore font minimum sizedefaults delete com.apple.Safari WebKitMinimumFontSize
Weekdays.Globalshow weekdaysdefaults read -g NSWeekDayNameArray
Window Frame ReadSafariread window framedefaults read com.apple.Safari NSWindow\ Frame\ BrowserWindowFrame
Window Frame RestoreSafarirestore default window framedefaults delete com.apple.Safari NSWindow\ Frame\ BrowserWindowFrame
Zoom Rects OffFinderdon't use zoom rects in Finderdefaults delete com.apple.finder ZoomRects;killall Finder
Zoom Rects OnFinderuse zoom rects in Finderdefaults write com.apple.finder ZoomRects -bool YES;killall Finder
Zoom Rects ReadFinderread zoom rects flagdefaults read com.apple.finder ZoomRects

Developer

SizeDevelopershow size of sections of object filesize /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch AllDevelopershow size of sections of object file for all architecturessize -arch all /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch HPPADevelopershow size of sections of object file for HPPA architecturesize -arch hppa /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch HPPA7100LCDevelopershow size of sections of object file for HPPA7100LC architecturesize -arch hppa7100LC /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch i386Developershow size of sections of object file for i386 architecturesize -arch i386 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch i486Developershow size of sections of object file for i486 architecturesize -arch i486 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch i486SXDevelopershow size of sections of object file for i486SX architecturesize -arch i486SX /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch i586Developershow size of sections of object file for i586 architecturesize -arch i586 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch i860Developershow size of sections of object file for i860 architecturesize -arch i860 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch M68030Developershow size of sections of object file for M68030 architecturesize -arch m68030 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch M68040Developershow size of sections of object file for M68040 architecturesize -arch m68040 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch M68KDevelopershow size of sections of object file for M68K architecturesize -arch m68k /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch M88KDevelopershow size of sections of object file for M88K architecturesize -arch m88k /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PentiumDevelopershow size of sections of object file for Pentium architecturesize -arch pentium /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch Pentium II M3Developershow size of sections of object file for Pentium II M3 architecturesize -arch pentIIm3 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch Pentium II M5Developershow size of sections of object file for Pentium II M5 architecturesize -arch pentIIm5 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch Pentium ProDevelopershow size of sections of object file for Pentium Pro architecturesize -arch pentpro /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPCDevelopershow size of sections of object file for PPC architecturesize -arch ppc /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC601Developershow size of sections of object file for PPC601 architecturesize -arch ppc601 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC603EDevelopershow size of sections of object file for PPC603E architecturesize -arch ppc603e /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC603EVDevelopershow size of sections of object file for PPC603EV architecturesize -arch ppc603ev /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC604Developershow size of sections of object file for PPC604 architecturesize -arch ppc604 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC604EDevelopershow size of sections of object file for PPC604E architecturesize -arch ppc604e /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC7400Developershow size of sections of object file for PPC7400 architecturesize -arch ppc7400 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC7450Developershow size of sections of object file for PPC7450 architecturesize -arch ppc7450 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC750Developershow size of sections of object file for PPC750 architecturesize -arch ppc750 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch SparcDevelopershow size of sections of object file for Sparc architecturesize -arch sparc /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch VEODevelopershow size of sections of object file for VEO architecturesize -arch veo /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch VEO1Developershow size of sections of object file for VEO1 architecturesize -arch veo1 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch VEO2Developershow size of sections of object file for VEO2 architecturesize -arch veo2 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size LongDevelopershow size of sections of object file long formatsize -l /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Long HexDevelopershow size of sections of object file long format hex formatsize -l -x /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Mach-ODevelopershow size of sections of object file and Mach-O datasize -m /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Mach-O HexDevelopershow size of sections of object file and Mach-O data hex formatsize -m -x /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder

Disk

Check RAIDDiskcheck a RAID set for errorssudo diskutil checkRAID
Create Sparse ImageDiskcreate sparse disk imagecd ~/Desktop; hdiutil create Image_Name -size 1g -type SPARSE -fs HFS+ -volname Volume_Name
Create Sparse Image EncryptDiskcreate encrypted sparse disk imagecd ~/Desktop; hdiutil create Image_Name -size 1g -encryption -type SPARSE -fs HFS+ -volname Volume_Name
Disk Free SpaceDiskshow free disk spacedf -i
Disk Image Verify OffDisk Imagesskip disk image verificationdefaults write com.apple.frameworks.diskimages skip-verify true
Disk Image Verify OnDisk Imagesenable disk image verificationdefaults write com.apple.frameworks.diskimages skip-verify false
Disk InfoDiskshow fixed disk infosudo diskutil info disk0
Disk Usage IDiskshow disk usage statistics (huge output)sudo du -c / | sort -n -r
Disk Usage IIDiskdump disk usage statistics to disksudo du -c / | sort -n -r > /tmp/du.rtx;open /tmp/du.rtx
Disktool Device StatusDiskshow volinfo status (disk0s9 used as example)disktool -S disk0s9
Disktool HFS EncodingDiskget HFS encoding on a volume (disk0s9 used as example)disktool -g disk0s9
Disktool ListDiskshow disks known and available on the systemdisktool -l
Disktool List AppearedDiskshow disks appearing on the systemdisktool -l | grep Appeared
Disktool RefreshDiskcause arbitration to refresh internal tables and look for new mounts/unmountsdisktool -r
Expert Mode OffDisk Copyturn off expert mode in Disk Copydefaults delete com.apple.diskcopy expert-mode
Expert Mode OnDisk Copyturn on expert mode in Disk Copydefaults write com.apple.diskcopy expert-mode -bool YES
Expert Mode ReadDisk Copyread Disk Copy expert mode flagdefaults read com.apple.diskcopy expert-mode
Internet Enabled OffDisk Imagesstop special treatment of internet enabled disk imagesdefaults write com.apple.frameworks.diskimages skip-idme true
Internet Enabled OnDisk Imagesenable special treatment of internet-enabled disk imagesdefaults delete com.apple.frameworks.diskimages skip-idme
Journaling OffDiskdisable HFS+ disk journalingsudo diskutil disableJournal /
Journaling OnDiskenable HFS+ disk journalingsudo diskutil enableJournal /
Repair DiskDiskrepair volume structure (may not be system disk)sudo diskutil repairDisk /
Repair PermissionsDiskrepair volume permissions (may not be system disk)sudo diskutil repairPermissions /
Root InfoDiskget information on boot volumediskutil info /
Show MountsDiskshow mounted drive infomount -v
Update PrebindingDiskupdate prebindingsudo update_prebinding -root /
Update Prebinding ForceDiskforce update prebindingsudo update_prebinding -force -root /
Verify Burn OffDisk Utilityturns of verify after burndefaults write com.apple.DiskUtility DRBurnOptionsVerifyBurn -bool NO
Verify Burn OnDisk Utilityturns on verify after burndefaults write com.apple.DiskUtility DRBurnOptionsVerifyBurn -bool YES
Verify DiskDiskverify volume structure (may not be system disk)sudo diskutil verifyDisk /
Verify PermissionsDiskverify volume permissions (may not be system disk)sudo diskutil verifyPermissions /

Echo

Echo _Echoecho _echo $_
Echo __CF_USER_TEXT_ENCODINGEchoecho __CF_USER_TEXT_ENCODINGecho $__CF_USER_TEXT_ENCODING
Echo BASHEchoecho BASHecho $BASH
Echo BASH_VERSIONEchoecho BASH_VERSIONecho $BASH_VERSION
Echo DIRSTACKEchoecho DIRSTACKecho $DIRSTACK
Echo EUIDEchoecho EUIDecho $EUID
Echo GROUPSEchoecho GROUPSecho $GROUPS
Echo HOMEEchoecho HOMEecho $HOME
Echo HOSTNAMEEchoecho HOSTNAMEecho $HOSTNAME
Echo HOSTTYPEEchoecho HOSTTYPEecho $HOSTTYPE
Echo LANGEchoecho LANGecho $LANG
Echo MACHTYPEEchoecho MACHTYPEecho $MACHTYPE
Echo OPTERREchoecho OPTERRecho $OPTERR
Echo OPTINDEchoecho OPTINDecho $OPTIND
Echo OSTYPEEchoecho OSTYPEecho $OSTYPE
Echo PATHEchoecho PATHecho $PATH
Echo POSIXLY_CORRECTEchoecho POSIXLY_CORRECTecho $POSIXLY_CORRECT
Echo PPIDEchoecho PPIDecho $PPID
Echo PS4Echoecho PS4echo $PS4
Echo PWDEchoecho PWDecho $PWD
Echo setEchoecho setecho `set`
Echo SHELLEchoecho SHELLecho $SHELL
Echo SHELLOPTSEchoecho SHELLOPTSecho $SHELLOPTS
Echo SHLVLEchoecho SHLVLecho $SHLVL
Echo TERMEchoecho TERMecho $TERM
Echo UIDEchoecho UIDecho $UID
Echo USEREchoecho USERecho $USER

List

.DS_Store /Listlist all .DS_Store files on hard drivesudo find / -name \.DS_Store
.DS_Store ~Listlist all .DS_Store files in home directoryfind ~ -name \.DS_Store
App ProfileListlist contents of app_profile directorysudo ls -ailoR /var/vm/app_profile
Apps /Listlist all .app packages on hard drivesudo find / -name '*\.app' -type d | grep -v /dev
Apps ~Listlist all .app packages in home directoryfind ~ -name '*\.app' -type d
BackupsListlist contents of backups directorysudo ls -ailoR /var/backups
CronListlist contents of cron directorysudo ls -ailoR /var/cron
Defaults Domains /Listlist all defaults domains on hard drivesudo find /Library/Preferences -name '*\.plist' | grep -v /dev | sed /\.plist/s///;find ~/Library/Preferences -name '*\.plist' | sed /\.plist/s///
Defaults Domains ~Listlist all defaults domains at homefind ~/Library/Preferences -name '*\.plist' | sed /\.plist/s///
Frameworks /Listlist all frameworks on hard drivefind / -name '*\.framework' -type d | grep -v /dev
Frameworks ~Listlist all frameworks in home directoryfind ~ -name '*\.framework' -type d
Libraries /Listlist all Library directories on hard drivesudo find / -name Library -type d | grep -v /dev
Libraries ~Listlist all Library directories in home directorysudo find ~ -name Library -type d
List /etcListlist contents of /etcsudo ls -aiLloR /etc
List /privateListlist contents of /privatesudo ls -ailoR /private
List /tmpListlist contents of /tmpsudo ls -aiLloR /tmp
List /varListlist contents of /varsudo ls -aiLloR /var
NetInfoListlist contents of NetInfo directorysudo ls -ailoR /var/db/NetInfo
NIBs /Listlist all NIBs on hard drivesudo find / -name '*\.nib' -type d | grep -v /dev
NIBs ~Listlist all NIBs in home directorysudo find ~ -name '*\.nib' -type d
Open FilesListlist open fileslsof -l +L -R -V
Open LDAPListlist contents of /var/db/openldapsudo ls -ailoR /var/db/openldap
Open Network FilesListlist open network fileslsof -l -i +L -R -V
Open Unix FilesListlist open Unix domain socket fileslsof -l +L -R -U -V
PartitionsListlist fixed disk partitionsdiskutil list
PreferencesListlist all preferences directories on hard drivesudo find / -name Preferences -type d | grep -v /dev
Property Lists /Listlist all property list files on hard drivesudo find / -name '*\.plist' | grep -v /dev
Property Lists ~Listlist all property list files in home directoryfind ~ -name '*\.plist'
ReceiptsListlist contents of Receipts directorysudo ls -ailoR /Library/Receipts
Recent FoldersListlist recent folders (two methods)defaults read -g AppleRecentFolders;defaults read -g AppleRecentFolders
Root HomeListlist contents of root home directorysudo ls -ailoR /var/root
SambaListlist contents of /var/db/sambasudo ls -ailoR /var/db/samba
Screen Savers /Listlist all screen savers on hard drivesudo find / -name '*\.saver' -type d | grep -v /dev
Screen Savers ~Listlist all screen savers in home directoryfind ~ -name '*\.saver' -type d
SpoolListlist contents of /var/spoolsudo ls -ailoR /var/spool
SudoListlist contents of sudo directorysudo ls -ailoR /var/run/sudo
TrashListlist contents of ~/.Trash directorysudo ls -ailoR ~/.Trash
TrashesListlist contents of /.Trashes directorysudo ls -ailoR /.Trashes
VMListlist contents of vm directorysudo ls -ailoR /var/vm

Log

Console LogLogread console logcat /var/tmp/console.log
Console Log CleanLogclean console logsudo rm -f /var/tmp/console.log
Console Log PurgeLogpurge console logsudo rm -fP /var/tmp/console.log
Crash ReporterLogread crash reporter logsopen -e /Library/Logs/CrashReporter/* ~/Library/Logs/CrashReporter/*
Crash Reports CleanLogclean crash reportsfind ~/Library/Logs/CrashReporter -type f -exec rm -fr {} \\;
Crash Reports PurgeLogpurge crash reportsfind ~/Library/Logs/CrashReporter -type f -exec rm -fP {} \\;
CUPS access_logLogread CUPS access_logcat /var/log/cups/access_log
CUPS error_logLogread CUPS error_logcat /var/log/cups/error_log
CUPS LogsLogread CUPS logsecho CUPS access log;echo ===============;cat /var/log/cups/access_log;echo CUPS error log;echo ==============;cat /var/log/cups/error_log
CUPS Logs CleanLogclean CUPS log filessudo rm -f /var/log/cups/*
CUPS Logs PurgeLogpurge CUPS log filessudo rm -fP /var/log/cups/*
CUPS page_logLogread CUPS page_logcat /var/log/cups/page_log
daily.outLogread daily.out logcat /var/log/daily.out
daily.out CleanLogclean daily.out logsudo rm -f /var/log/daily.out
daily.out PurgeLogpurge daily.out logsudo rm -fP /var/log/daily.out
FTP LogLogread FTP logcat /var/log/ftp.log
HTTPD Access LogLogread HTTPD access logcat /var/log/httpd/access_log
HTTPD Access Log CleanLogclean HTTPD access logsudo rm -fr /var/log/httpd/access_log
HTTPD Access Log PurgeLogpurge HTTPD access logsudo rm -fP /var/log/httpd/access_log
HTTPD Error LogLogread HTTPD error logcat /var/log/httpd/error_log
HTTPD Error Log CleanLogclean HTTPD error logsudo rm -fr /var/log/httpd/error_log
HTTPD Error Log PurgeLogpurge HTTPD error logsudo rm -fP /var/log/httpd/error_log
httpd LogLogshow httpd logcat /var/log/httpd/access_log
httpd Log CleanLogclean httpd logsudo rm -fr /var/log/httpd/access_log
httpd Log PurgeLogclean httpd logsudo rm -fP /var/log/httpd/access_log
Library LogsLogread library logsecho Reading /Library logs...;find /Library/Logs -name *\\.log -exec cat {} \\;;echo Reading ~/Library logs...;find ~/Library/Logs -name *\\.log -exec cat {} \\;;echo Done.
Library Logs CleanLogclean library logsecho Cleaning /Library logs...;find /Library/Logs -name *\\.log -exec rm -fr {} \\;;echo Cleaning ~/Library logs...;find ~/Library/Logs -name *\\.log -exec rm -fr {} \\;;echo Done.
Library Logs PurgeLogpurge library logsecho Purging /Library logs...;find /Library/Logs -name *\\.log -exec rm -fP {} \\;;echo Purging ~/Library logs...;find ~/Library/Logs -name *\\.log -exec rm -fP {} \\;;echo Done.
Logs CleanLogclean log filesrm -f /tmp/DebugLog.log;find /Library/Logs -name *\\.log -exec rm -f {} \\;;find ~/Library/Logs -name *\\.log -exec rm -f {} \\;
Logs PurgeLogpurge log filesrm -fP /tmp/DebugLog.log;find /Library/Logs -name *.log -exec rm -fP {} \\;;find ~/Library/Logs -name *.log -exec rm -fP {} \\;
Lookupd LogLogread lookupd logcat /var/log/lookupd.log
Lookupd Log CleanLogclean lookupd logsudo rm -f /var/log/lookupd.log
Lookupd Log PurgeLogpurge lookupd logsudo rm -fP /var/log/lookupd.log
LPR LogLogread LPR (line printer) logcat /var/log/lpr.log
LPR Log CleanLogclean LPR (line printer) logsudo rm -f /var/log/lpr.log
LPR Log PurgeLogpurge LPR (line printer) logsudo rm -fP /var/log/lpr.log
Mail LogLogread mail logcat /var/log/mail.log
Mail Log CleanLogclean mail logsudo rm -f /var/log/mail.log
Mail Log PurgeLogpurge mail logsudo rm -fP /var/log/mail.log
monthly.outLogread monthly.out logcat /var/log/monthly.out
monthly.out CleanLogclean monthly.out logsudo rm -f /var/log/monthly.out
monthly.out PurgeLogpurge monthly.out logsudo rm -fP /var/log/monthly.out
NetInfo.logLogview NetInfo.logcat /var/log/NetInfo.log
NetInfo.log CleanLogclean NetInfo.logsudo rm -fr /var/log/NetInfo.log
NetInfo.log PurgeLogpurge NetInfo.logsudo rm -fPr /var/log/NetInfo.log
Panic LogLogread kernel panic logcat /Library/Logs/panic.log
Panic Log CleanLogclean kernel panic logsudo rm -f /Library/Logs/panic.log
Panic Log PurgeLogpurge kernel panic logsudo rm -fP /Library/Logs/panic.log
Periodics Clean AllLogclean daily.out weekly.out monthly.out logssudo rm -f /var/log/daily.out /var/log/monthly.out /var/log/weekly.out
Periodics Purge AllLogpurge daily.out weekly.out monthly.out logssudo rm -fP /var/log/daily.out /var/log/monthly.out /var/log/weekly.out
PPP Log CleanLogclean PPP (modem) logsudo rm -f /tmp/ppp.log
PPP Log PurgeLogpurge PPP (modem) logsudo rm -fP /tmp/ppp.log
PPP Log ReadLogread PPP (modem) logsudo cat /tmp/ppp.log
Samba NMDB LogLogread Samba NMDB logcat /var/log/samba/log.nmbd
Samba NMDB Log CleanLogclean Samba NMDB logsudo rm -f /var/log/samba/log.nmbd
Samba NMDB Log PurgeLogpurge Samba NMDB logsudo rm -fP /var/log/samba/log.nmbd
Samba SMDB LogLogread Samba SMDB logcat /var/log/samba/log.smbd
Samba SMDB Log CleanLogclean Samba SMDB logsudo rm -f /var/log/samba/log.smbd
Samba SMDB Log PurgeLogpurge Samba SMDB logsudo rm -fP /var/log/samba/log.smbd
Secure LogLogread secure.logsudo cat /var/log/secure.log
Secure Log CleanLogclean secure.logsudo rm -fr /var/log/secure.log
Secure Log PurgeLogpurge secure.logsudo rm -fPr /var/log/secure.log
syslog.confLogview syslog configuration filecat /etc/syslog.conf
System LogLogread system.logsudo cat /var/log/system.log
System Log CleanLogclean system.logsudo rm -fr /var/log/system.log
System Log PurgeLogpurge system.logsudo rm -fPr /var/log/system.log
weekly.outLogrread weekly.out logcat /var/log/weekly.out
weekly.out CleanLogclean weekly.out logsudo rm -f /var/log/weekly.out
weekly.out PurgeLogpurge weekly.out logsudo rm -fP /var/log/weekly.out
who wtmpLogshow system activity in wtmpwho /var/log/wtmp

Lproj

Chinese (CN) Lprojs /ApplicationsLprojlist all Chinese (CN) lproj files in /Applicationssudo find /Applications -name zh_CN\.lproj
Chinese (CN) Lprojs /Applications CleanLprojclean all Chinese (CN) lproj files in /Applicationssudo find /Applications -name zh_CN\.lproj -exec rm -fr {} \;
Chinese (CN) Lprojs /Applications PurgeLprojpurge all Chinese (CN) lproj files in /Applicationssudo find /Applications -name zh_CN\.lproj -exec rm -fPr {} \;
Chinese (CN) Lprojs /DeveloperLprojlist all Chinese (CN) lproj files in /Developersudo find /Developer -name zh_CN\.lproj
Chinese (CN) Lprojs /Developer CleanLprojclean all Chinese (CN) lproj files in /Developersudo find /Developer -name zh_CN\.lproj -exec rm -fr {} \;
Chinese (CN) Lprojs /Developer PurgeLprojpurge all Chinese (CN) lproj files in /Developersudo find /Developer -name zh_CN\.lproj -exec rm -fPr {} \;
Chinese (CN) Lprojs ~Lprojlist all Chinese (CN) lproj files in home areasudo find ~ -name zh_CN\.lproj
Chinese (CN) Lprojs ~ CleanLprojclean all Chinese (CN) lproj files in home areasudo find ~ -name zh_CN\.lproj -exec rm -fr {} \;
Chinese (CN) Lprojs ~ PurgeLprojpurge all Chinese (CN) lproj files in home areasudo find ~ -name zh_CN\.lproj -exec rm -fPr {} \;
Chinese (CN) Lprojs ~/ApplicationsLprojlist all Chinese (CN) lproj files in ~/Applicationssudo find ~/Applications -name zh_CN\.lproj
Chinese (CN) Lprojs ~/Applications CleanLprojclean all Chinese (CN) lproj files in ~/Applicationssudo find ~/Applications -name zh_CN\.lproj -exec rm -fr {} \;
Chinese (CN) Lprojs ~/Application