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
And also:
find . -name "\._*" -exec rm {} \;
.^.

Related Articles
Please log in to post comments:
Login with Google