Featured image of post 使用PowerShell批量删除.DS_Store

使用PowerShell批量删除.DS_Store

将当前目录移动到目标文件夹,并运行以下命令,即可批量删除包括子文件夹在内的所有 .DS_Store 文件。

1
Get-ChildItem . -include '.DS_Store' -Recurse -Force | Remove-Item -Force
comments powered by Disqus
使用 Hugo 构建
主题 StackJimmy 设计