를 사용하는 경우 기존 및/또는 동일한 크기의 파일을 건너 뛰 방법 : 파일이 존재하는 경우 위의 코드 "명령을 SKIP"경우에 나는 확실하지 않다이 포럼에, 나는이 코드를 가지고 감사를 ROBOCOPY
@echo on
set source="R:\Contracts\"
set destination="R:\Contracts\Sites"
::Not sure if this is needed
::It guarantees you have a canonical path (standard form)
for %%F in (%destination%) do set destination="%%~fF"
for /r %source% %%F in (.) do if "%%~fF" neq %destination% ROBOCOPY "%%F" %destination% *.srt *.pdf *.mp4 *.jpg /COPYALL /R:0
Pause
/파일이 같은 크기 인 경우 건너 뜁니다.
400 개 파일에는 시간이 오래 걸리는 것으로 보입니다. 나는 곧 40000 파일이 될이 권리를 얻고 싶습니다.
감사합니다.
고맙다고해서 아무런 해가 없습니다. 좋은 매너입니다. – Arthor