How to remove all .DS_Store files in a folder
If you want to recursively delete all .DS_Store files in a subfolder, you can run the following commands. First, see what is being deleted:
find . -name '.DS_Store' -type f
Then, delete those files:
find . -name '.DS_Store' -type f -delete
.
.^.
Related Articles
Please log in to post a comment: