Add command to recursively delete .DS_Store files in current directory

This commit is contained in:
tricinel 2015-10-24 09:31:40 +02:00
parent cfc89bc114
commit 28307e49e5

View File

@ -443,6 +443,12 @@ Avoids creation of `.DS_Store` and AppleDouble files.
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
``` ```
#### Recursively Delete Metadata Files in Current Folder
Run from Terminal, it will recursively delete all `.DS_Store` files it finds starting from the current directory.
```bash
find . -name '*.DS_Store' -type f -ls -delete
```
### Opening Things ### Opening Things
#### Change Working Directory to Finder Path #### Change Working Directory to Finder Path