.DS_Store
.DS_Store (Desktop Services Store)[1] is a proprietary format hidden file created by Apple Inc.'s Mac OS X operating system to store custom attributes of a folder such as the position of icons or the choice of a background image.[2]
Contents |
Purpose [edit]
Although these files were primarily used by the Finder, they were envisioned as a more general purpose store of metadata about the display options of folders such as icon position and view settings.[1] For example, on Mac OS X 10.4 "Tiger", .DS_Store files contain the Spotlight comments of all the folder's files. However, on Mac OS X 10.5 "Leopard" this changed again, and comments (now called Keywords) are instead stored in extended file attributes.[citation needed]
Placement [edit]
By default, the Mac OS X Finder will create a .DS_Store file in every folder that it accesses, even folders on remote systems (for example, folders shared over an SMB or AFP connection) and even if the user has only customized the appearance of the folder by moving its Finder window.[3] This is in contrast to the pre-existing system for the same purpose used in previous versions of the Finder, which would merely place a number of invisible files at the root of the volume being accessed (even on alien file systems), always storing the settings and metadata for all of the folders in the entire volume within this single set of files.
Problems [edit]
After complaints from users about these files being created on remote systems, Apple posted an article on its support site detailing how to disable the creation of remote .DS_Store files over network connections.[4] However, this instruction does not apply for local drives, including USB flash drives. Prior to the release of Mac OS X 10.5, .DS_Store files were visible on remote filesystems, including Windows file system.[5]
.DS_Store files can create extra work for people managing version control software. They are prone to changes and therefore will appear in commits unless specifically excluded.[6]
See also [edit]
References [edit]
- ^ a b Arno Gourdol (September 30, 2006). "On the origins of .DS_Store". arno.org. Retrieved October 1, 2006.
- ^ Adobe (February 24, 2003). "Removing .DS_Store files on Macintosh OS X?". Adobe. Archived from the original on September 29, 2006. Retrieved September 29, 2006.
- ^ Rixstep (May 21, 2003). ".DS_Store". rixstep.com. Retrieved September 29, 2006.
- ^ Apple Computer (May 24, 2005). "Mac OS X v10.4 and later: How to prevent .DS_Store file creation over network connections". support.apple.com. Retrieved July 27, 2012.
- ^ "Prevent creation of .DS_Store files in network shares". greci.cc. November 12, 2007. Retrieved November 12, 2008.
- ^ Spencer Nielsen (December 24, 2011). "Death to .DS_Store". www.aorensoftware.com. Retrieved October 29, 2012.
External links [edit]
| This Mac OS and/or OS X software-related article is a stub. You can help Wikipedia by expanding it. |