@echo off
echo.
echo [START] ─── 동기화 (NAS 30 to 25)) ───
echo.
set NAS30-DISK=W:
set NAS25-DISK=Y:
set SERVER_E=%NAS30-DISK%\SERVER_E
set SERVER_F=%NAS30-DISK%\SERVER_F
set SERVER_G=%NAS30-DISK%\SERVER_G
set SERVER_H=%NAS30-DISK%\SERVER_H
set VMW_3TB_E=%NAS25-DISK%\VMW_3TB_E
set VMW_3TB_F=%NAS25-DISK%\VMW_3TB_F
set VMW_3TB_G=%NAS25-DISK%\VMW_3TB_G
set VMW_3TB_H=%NAS25-DISK%\VMW_3TB_H
set NEW-1=(최신드라마)
set NEW-2=(최신영화)
set NEW-3=(최신예능TV쇼)
set OLD-1=1ㆍ최신동영상
set OLD-2=2ㆍ드라마
set OLD-3=3ㆍ영화
set OLD-4=4ㆍ예능TV쇼
set OLD-5=5ㆍ애니메이션
set OLD-6=6ㆍ교양
set OLD-7=7ㆍ교육강좌
set OLD-8=8ㆍTV프로그램
set OLD-9=9ㆍ동영상
set MUSIC-1=1ㆍ가요
set MUSIC-2=8ㆍ음악에세이
set FOLDER=D:\FOLDER
robocopy /XO /COPY:DAT /V /NJH /NJS /TEE "%SERVER_E%\_TEMP_E\_DRAMA" "%VMW_3TB_E%\_TEMP_E\_DRAMA" "*.*"
echo.
echo [파일 복사] ─── ■최신드라마 NAS 30 (W:) to 25 (Y:) ───
echo.
timeout /t 3
robocopy /XO /COPY:DAT /V /NJH /NJS /TEE "%SERVER_E%\_TEMP_E\_VARIETY" "%VMW_3TB_E%\_TEMP_E\_VARIETY" "*.*"
echo.
echo [파일 복사] ─── ■최신예능TV쇼 NAS 30 (W:) to 25 (Y:) ───
echo.
timeout /t 3
robocopy /XO /COPY:DAT /V /NJH /NJS /TEE "%SERVER_F%\_TEMP_F\_TV_PROGRAM" "%VMW_3TB_F%\_TEMP_F\_TV_PROGRAM" "*.*"
echo.
echo [파일 복사] ─── ■TV프로그램 NAS 30 (W:) to 25 (Y:) ───
echo.
timeout /t 3
for /f "delims=" %%i in (%FOLDER%\OLD-9_동영상.txt) do robocopy /XO /COPY:DAT /V /NJH /NJS /TEE "%SERVER_F%\_Youtube\%%i" "%VMW_3TB_F%\_Youtube\%%i" "*.*"
echo.
echo [동기화 완료] ─── 유투브 NAS 30 (W:) to 25 (Y:) ───
echo.
timeout /t 3
robocopy /XO /COPY:DAT /V /NJH /NJS /TEE "%SERVER_E%\_TEMP_E\_MOVIE" "%VMW_3TB_E%\_TEMP_E\_MOVIE" /XF "*.vsmeta"
timeout /t 3
move /y "%VMW_3TB_E%\_TEMP_E\_MOVIE\*.*" "%VMW_3TB_E%\_TEMP_PLAY_E"
timeout /t 3
move /y "%SERVER_E%\_TEMP_E\_MOVIE\*.*" "%SERVER_E%\_TEMP_PLAY_E"
echo.
echo [동기화 완료] ─── 영화 NAS 30 (W:) to 25 (Y:) ───
echo.
timeout /t 3
echo.
echo [END] ─── 동기화 (NAS 30 to 25) ───
echo.
timeout /t 5
exit