How to delete .DS_Store files on macOS
This article shows how to delete .DS_Store files from the current directory and all its subdirectories on macOS. 1. Delete “.DS_Store” files The below command will delete .DS_Store files from the current directory and all its subdirectories without asking for confirmation. Terminal find . -name ".DS_Store" -type f -delete The command breakdown: find . – …