15

I would like to reset the preferences for all my Mac OS X folders. Is this possible?

17

This would find and delete the files storing view options under your home directory:

find ~ -name .DS_Store -delete

(And don't forget the -name flag — without it it the command would delete everything in your home directory.)

As far as I (and Wikipedia) know, the .DS_Store files mostly store information about folder-specific view options.

| improve this answer | |
15

To restore a folder to the default view settings,

  1. Open the View Options panel (Command-J, or View » Show View Options);
  2. Then hold down the Option key and click the bottom button. With the Option key down, the ‘Use as Defaults’ button will change to ‘Restore to Defaults’.
| improve this answer | |
  • Although the 'correct' answer is great (if you don't make mistakes in copying that dangerous command', this answer is excellent if you don't want to risk Terminal commands. – LWTBP Nov 29 '19 at 6:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.