What file is dsstore?
dsstore is a hidden file of custom attributes. dsstore, the full name of "Desktop Services Store", is a hidden file created by Apple's Mac OS
The operating environment of this tutorial: macOS Big Sur system, MacBook Pro computer.
What file is dsstore?
dsstore is a hidden file of custom attributes.
.DS_Store (full name in English: Desktop Services Store) is a hidden file created by Apple's Mac OS It is the choice of background color. Equivalent to desktop.ini under Windows.
Delete .DS_Store
If there is no automatically generated .DS_Store file in your project, then just add .DS_Store directly to the .gitignore file. If the .DS_Store file already exists in your project, you need to delete it from the project first and then add it to .gitignore. As follows:
Delete all .DS_Store in the project. This will skip .DS_Store
1.find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch 将 .DS_Store 加入到 .gitignore 2.echo .DS_Store >> ~/.gitignore
Update Project
3.git add --all 4.git commit -m '.DS_Store banished!'
If you only need to delete the .DS_Store on disk, you can use the following command to delete the current directory and its subdirectories All .DS_Store files under:
1、find . -name '*.DS_Store' -type f -delete
Disable or enable automatic generation
Disable .DS_store generation:
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE
Restore .DS_store generation:Restore .DS_store generation:
defaults delete com.apple.desktopservices DSDontWriteNetworkStores
The above is the detailed content of What file is dsstore?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics









