【问题标题】:Windows Shell Moves files in a folder that match a certain patternWindows Shell 移动文件夹中与特定模式匹配的文件
【发布时间】:2018-07-20 18:54:47
【问题描述】:

我想在 Windows shell 中完成以下 unix 功能:

mv */FOLDER1/FOLDER2/* .

模式 FOLDER1/FOLDER2 将始终保持不变

【问题讨论】:

    标签: windows shell powershell command-prompt


    【解决方案1】:

    Move-Item,文档是here。一个示例用法是;

    Move-Item -Path C:\Temp -Destination C:\Logs

    他们在链接的文档中有更多示例。

    【讨论】:

      猜你喜欢
      • 2021-05-02
      • 1970-01-01
      • 1970-01-01
      • 2012-12-31
      • 1970-01-01
      • 2014-11-24
      • 2014-11-02
      • 1970-01-01
      • 2021-06-30
      相关资源
      最近更新 更多