Featured image of post Bulk Delete .DS_Store with PowerShell

Bulk Delete .DS_Store with PowerShell

Move the current directory to the target folder, and execute the following command to bulk delete .DS_Store including subfolders.

1
Get-ChildItem . -include '.DS_Store' -Recurse -Force | Remove-Item -Force
comments powered by Disqus