Saturday, February 21, 2009

Using time machine to restore dot files

I needed to replace some dot files, however the finder in time machine doesn't show dot files (.emacs for instance).

The following enables viewing dotfiles (ran this in terminal):
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

Now you should be able to see your all dotfiles and folders in finder.