# Macos – How to auto-arrange/clean-up files for ALL folders in OSX Mountain Lion

findermacososx-mountain-lion

I have figured out how to make folders auto arrange their contents. This is achieved in Finder->View->Show View Options (or cmd+J).

From the newly opened window, setting the arrange by dropdown will set the folders behavior from then on. But it is only for the folder this menu was opened in. How do I set this as a Finder rule for all directories?

EDIT
I am using Mountain Lion – 10.8.2
I don't have a 'Use as Defaults' button in my view panes – here's a screen grab:

You can clear the folder-specific settings by running sudo find / -name .DS_Store -delete && killall Finder. It also resets other view options, resets the positions of icons, and deletes Spotlight comments.