What is .DS_Store file and how to hide it?

What is .DS_Store file and how to hide it?
0

#1

What is .DS_Store file?
According to wikipedia, DS_Store is the name of a file in the Apple OS X operating system for storing custom attributes of a folder such as the position of icons or the choice of a background image.

Is it possible to delete .DS_Store file?
Impossible since it belongs to system file category.

How to Hide .DS_Store in Mac OS X?
Easy in seconds.

  1. Run Terminal (Applications > Utilities)
  2. Enter the following command line.

defaults write com.apple.finder AppleShowAllFiles -boolean false;killall Finder

After you hit the Enter, the Finder be restarted and .DS_Store files must be invisible.