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 設計