为什么 robocopy 说这个文件较旧?

为什么 robocopy 说这个文件较旧?

为什么 robocopy 说这个文件较旧?

Robocopy 显示(我认为我使用了 /MIR 和 /L)

   2    M:\bk\laptopcopy\pics\
        Older              79248    regular-expressions-cheat-sheet-v2.png

但似乎没有任何时间戳反映这一点。

---- dir showing the modified time stamp
M:\>dir m:\bk\laptopcopy\pics
Tue 22 Jul 2008  05:01            79,248 regular-expressions-cheat-sheet-v2.png

F:\formozy\smalltxtdoc\bk\laptopcopy\pics
>dir regular-expressions-cheat-sheet-v2.png
22/07/2008  05:01            79,248 regular-expressions-cheat-sheet-v2.png
------


---dir showing the creation time stamp----
M:\bk\laptopcopy\pics
>dir /t:c regular-expressions-cheat-sheet-v2.png
24/08/2008  16:04            79,248 regular-expressions-cheat-s

F:\formozy\smalltxtdoc\bk\laptopcopy\pics
>dir /t:c regular-expressions-cheat-sheet-v2.png
24/08/2008  16:04            79,248 regular-expressions-cheat-s
----------------------


--- dir showing the access time stamp    
M:\bk\laptopcopy\pics
>dir /t:a regular-expressions-cheat-sheet-v2.png
20/04/2013  11:23            79,248 regular-expressions-cheat-sh

F:\formozy\smalltxtdoc\bk\laptopcopy\pics
>dir /t:a regular-expressions-cheat-sheet-v2.png
29/12/2010  14:31            79,248 regular-expressions-cheat-sh
----------

文档说明 [1]

File        Exists In   Exists In        Source/Dest     Source/Dest   Source/Dest
Class       Source      Destination      File Times      File Sizes    Attributes
=========== =========== ================ =============== ============= ============
Lonely      Yes         No               n/a             n/a           n/a
Tweaked     Yes         Yes              Equal           Equal         Different
Same        Yes         Yes              Equal           Equal         Equal
Changed     Yes         Yes              Equal           Different     n/a
Newer       Yes         Yes              Source > Dest   n/a           n/a
Older       Yes         Yes              Source < Dest   n/a           n/a
Extra       No          Yes              n/a             n/a           n/a
Mismatched  Yes (file)  Yes (directory)  n/a             n/a           n/a

[1]robocopy 中的 tweaked、lonely 和 extra 是什么意思?

其中提到了文档和 http://theether.net/download/Microsoft/Utilities/robocopy.pdfhttp://www.lordgoogle.com/downloads/robocopy/robocopy.doc

答案1

我遇到了同样的问题并遇到了以下问题:

http://www.conetrix.com/Blog/post/Robocopy-Incorrectly-Detects-Files-as-Newer-When-Copying-Between-Different-File-Systems.aspx

基本上,这表明您可以使用 /FFT 开关来假设 FAT 文件时间(2 秒日期/时间粒度)。

现在使用这个,我不再被覆盖100000个相同的文件

相关内容