If you are a MacOS user then you must have seen creation of .DS_Store file automatically inside folders which is sometimes quite annoying. .DS_Store files store folder level meta data information. However that is completely fine in MacOS. But there is a work around to avoid creation of .DS_Store files if you are annoyed of it. Specially if you are a developer and those .DS_Store files are created and commit to your git repositories.
Run following command
1 |
defaults write com.apple.desktopservices DSDontWriteNetworkStores true |
Restart your laptop.
In case you did not take steps to avoid creation of .DS_Store file and you already have git repositories have those files then you can also delete those files with some simple steps.
Comment Policy:
Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.