powershell递归删除文件

来源:互联网 发布:color for mac 编辑:程序博客网 时间:2024/04/27 14:05
  • 在powershell上执行
get-childitem * -include *.pyc -recurse |remove-item
  • 或者使用别名
ls * -include *.pyc -recurse |rm
0 0