Page 1 of 1

RoboCopy - Älter ?

Posted: 18 Jul 2023 06:17
by FireWater
Hello User,
I have a problem with ROBOCOPY:
I entered this command in a bat ...

Code: Select all

robocopy "c:\data" "d:\data" /COPY:DAT /MIR /FFT /R:1 /W:1
The problem it copies some directories "over and over" with the display: 100% Older [file size and file name].
What is going wrong here ?

Original Text
Hallo User,
ich habe ein Problem mit ROBOCOPY:
Ich habe diesen Befehl in einer Bat eingegeben ...

Code: Select all

robocopy "c:\Daten" "d:\Daten" /COPY:DAT /MIR /FFT /R:1 /W:1
Das Problem er kopiert einige Verzeichnisse "immer wieder" mit der Anzeige: 100% Älter [Dateigröße und Dateiname]
Was läuft hier falsch ?[/i]

Re: RoboCopy - Älter ?

Posted: 22 Jul 2023 01:11
by GeoffVass
Depending on what "over and over" means, one possibility is that the source has a junction point which refers to something in its own parent. So Robocopy just follows forever in a loop. To stop this, use the /XJ switch.