- Open your Terminal
- In the command line, type: cd
- Drag and drop the folder you wish to delete .DS_Store files from in this case our theme folder. Press enter.
- Finally, in the command line, type:
find . -name '.DS_Store' -type f -delete
Press enter.
WordPress Developer
find . -name '.DS_Store' -type f -delete
Press enter.