How to remove .DS_Store files from external drive?
I know that to remove .DS_Store files on my internal drive, I just need to issue the following terminal command:
sudo find / -name ".DS_Store" -depth -exec rm {} \;
What is the terminal command to remove .DS_Store files from an external drive?
Also, when removing the .DS_Store files from the internal drive, there are quite a number of folders that seem to be protected in which the .DS_Store files are not removed. Is there a way to make sure that all .DS_Store files on the internal drive are deleted?
Steve
MacBook Pro TouchBar and Touch ID, macOS Sierra (10.12.6)