Skip to content

Instantly share code, notes, and snippets.

@darwin darwin/_readme.md Secret
Last active Dec 4, 2019

Embed
What would you like to do?
Reset Finder and TotalFinder into factory defaults

To reset TotalFinder and Finder into factory defaults.

  1. in Terminal.app run
curl https://gist.githubusercontent.com/darwin/804d06733194f201a595c0dbbf8130ea/raw/reset.sh | bash
  1. and then launch /Applications/TotalFinder.app again

Alternatively in step 1 you might want to copy&paste the commands below by hand (skip empty lines and comments)

#!/usr/bin/env bash
set -e -o pipefail -x
# politely ask Finder to quit
osascript -e "tell application \"Finder\" to quit"
# (optional) backup settings as plists
mkdir ~/totalfinder-settings-backup
defaults export com.binaryage.totalfinder ~/totalfinder-settings-backup/com.binaryage.totalfinder.plist
defaults export com.apple.finder ~/totalfinder-settings-backup/com.apple.finder.plist
# delete settings
defaults delete com.binaryage.totalfinder
defaults delete com.apple.finder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.