OS X: Difference between revisions

From John's wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
== [http://www.macosxhints.com/article.php?story=20031017061722471 Locking files and folders to prevent changes] ==
== [http://www.macosxhints.com/article.php?story=20031017061722471 Locking files and folders to prevent changes] ==


To find out out chflags:
To find out about chflags:


  $ man chflags
  $ man chflags

Revision as of 14:55, 27 April 2008

Quicksilver is a desktop app launcher.

Mac OS X keyboard shortcuts

Finder: Show All Files

To show hidden files in finder:

$ defaults write com.apple.finder AppleShowAllFiles TRUE
$ killall Finder

To hide hidden files in finder:

$ defaults write com.apple.finder AppleShowAllFiles FALSE
$ killall Finder

Note: the finder config file is:

~/Library/Preferences/com.apple.finder.plist

Locking files and folders to prevent changes

To find out about chflags:

$ man chflags

The ucfg flag makes a folder immutable. To remove the uchg flag from a folder:

$ chflags nouchg FolderName

Single User Mode

To boot a Mac into single user mode: restart and hold down Command-S after the chime.