How to remove .DS_Store files on Mac

The following command will remove all .DS_Store files in a directory where it is executed as well as that particular directory’s subdirectories: find . -name ‘*.DS_Store’ -type f -delete Why would you want to remove .DS_Store files? The .DS_Store files store Finder-specific preferences concerning the display of each of your folders. Removing these files is […]