If I manually delete a .DS_Store file from a directory, what's the worst that can happen? What important information might I lose?
|
.DS_Store files are only used by the Finder to hold custom view settings for that particular folder. In most cases nothing will happen if you delete them, or at worst custom Finder view settings (icon size, position, background color, etc) will be lost. If you are trying to maintain a 'spatial Finder' experience in OS X, you might care more, but for most users no change will be noticed. |
|||||
|
|
The worst that will happen is that folder display attributes (icon positions and view settings) will go away. If you don't consider icon positions and view settings important, there is no important information stored in these files, so it is safe to delete them. |
||||
|
|
|
As far as I can tell, they store all the settings shown in view options in icon and list view (or parts of the settings after some of them have been changed).
In column view the options at the bottom are the same for all folders, but the arrange by and sort by modes are still saved in .DS_Store files.
Always open in means "save the previously used view mode of this folder to a .DS_Store file". It overrides the default view mode (FXPreferredViewStyle, which is often changed after closing a window). If you check "Always open in column view" and press ⌘1, the folder-specific view mode becomes icon view. .DS_Store files also contain the default dimensions of windows, the shown parts of windows, the positions of icons in icon view, and the width of the sidebar. Spotlight comments are stored in both .DS_Store files and extended attributes. If you delete a .DS_Store file, Finder won't see the comments, but Spotlight will. |
||||
|
|


