ROBOCOPY 來源目標 *.* /maxage:

ROBOCOPY 來源目標 *.* /maxage:

我需要將文件從一個資料夾複製到另一個資料夾,我想複製早於 2017 年 12 月 31 日的檔案:ROBOCOPY 來源目標/最大年齡:<20171231>

答案1

這是文件的連結:https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy

Maxage 以天為單位指定,因此今天是自 12 月 31 日以來的 231 天,因此我將使用 /maxage:231(如果您打開了上次訪問跟踪,則可以使用“minlad”)。

相關內容