Finder: consistent view options for all folders?

Hello everyone,


I would like to apply the same view options to all folders. However, if I select "Use as Defaults" in the "Show View Options" menu, it only seems to apply to those folders where I have not manually selected different options before. From what I have read, it seems that Mavericks as well as the last several versions of OS X save these settings in invisible files with the extension .ds_store that are located in the respective folders themselves.


Option 1: It seems to be possible to delete all .ds_store files once either through the Terminal (reference 1) or through third-party applications (reference 2). Afterwards, one could select "Use as Defaults" and it should the apply to ALL folders (since the old, manual settings are no longer saved in .ds_store files). However, I am uncertain whether deleting the .ds_store files will create any unwanted side effects such as permission problems.


Option 2: An alternative to deleting the .ds_store files is using Automator to set the desired view options for all folders. However, even though it has received its last update in October of 2013 (to version 2.4), it does not offer the option to select a "Tags" column in list view. This problem makes the Automator unusable for me in this respect (since I want to display all folders in list view with only the "Name" and "Tags" columns).


Option 3: The last option would be to purchase the third-party file explorer Path Finder. I have tested the demo and found it not only much more powerful and customisable than Apple's Finder but it also allows one to easily achieve what this question is about. However, I like to keep things simple and thus want to use as few different apps as possible. Therefore, I wait for your replies before I buy it.


Have I overlooked an option or an aspect?


References

(1) http://osxdaily.com/2012/07/05/delete-all-ds-store-files-from-mac-os-x/#comments

(2) https://itunes.apple.com/us/app/ds-store-remover/id476237254?mt=12

Posted on Mar 13, 2014 11:40 AM

Reply
19 replies

Mar 13, 2014 4:01 PM in response to baltwo

Hello baltwo,


thanks for your reply.


Should I use the command you suggested:

sudo find / -name ".DS_Store" -exec rm {} \;


or the one that another user suggested in reply to your command?

sudo find / -name .DS_Store -delete; killall Finder


Is the only difference that the latter also "kills" the Finder?


Also, do I risk any side effects, such as permissions problems, when I execute your command?

Mar 14, 2014 6:53 PM in response to baltwo

When I execute the command, I get the following output:


find: /dev/fd/3: Not a directory

find: /dev/fd/4: Not a directory

override rw-rw-r-- root/admin for /Volumes/Time Machine HDD/Backups.backupdb/Name’s Mac mini/2013-05-18-153102/Macintosh HD/.DS_Store?


1) Why do I get the messages regarding /dev/fd/3 and /dev/fd/4? What are these anyway?

2) Does the command delete .ds_store files from all drives and partitions? I ask because I executed the command on names-mini:~ Name$ and now, to my surprise, it seems to access my Time Machine HDD.

3) Why does Terminal ask me if I want to override the permissions of the .ds_store file on the Time Machine HDD?

Mar 15, 2014 4:25 PM in response to baltwo

It was a good idea to eject the Time Machine HDD before executing the command. Now it was completed without any questions.


The command also achieved the desired effect of deleting the .ds_store files and allowing to set the views for ALL folders. Even the widths of all columns are applied to all folders when I select "Use as Default".


The only setting which is not applied to all folders is the dimension of the Finder window. But I guess "Use as Default" simply doesn't consider this setting.

Mar 15, 2014 5:31 PM in response to mindful_compassion

After some more experimenting, I found out that changes to the view options are applied to all folders on my desktop - with one exception. For some reason, a single folder seems immune to any indirect changes through applying "Use as Defaults" on another folder. Even after I have removed all .ds_store files with the Terminal command and set the view options again, this single folder remains the same unless I directly change its view options.


How can that be? The folder doesn't even have a .ds_store file and can furthermore be read and written by the user.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Finder: consistent view options for all folders?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.