This is an old revision of the document!
Copy Media Files for CVP
This script will copy files from the A side Server to teh B side server. It will only copy files that do not exist or are newer on the A side
: Gerard O'Rourke : 20/08/2016 : Copy Audio Files from A to B side @echo off cls echo =========== MEDIA FILES ============= echo. echo ************************************* echo * Warning this file will copy files * echo * from the A side to B side server * echo * Only Later Modified files will be * echo * copied * echo ************************************* echo. echo =========== MEDIA FILES ============= echo. set confirm=N set /P confirm=Do you want to proceed and copy Media Files from A to B side (Y/N)? if "%confirm%" == "Y" goto proceed if "%confirm%" == "y" goto proceed goto donotproceed :donotproceed echo. echo File Copy aborted!!! echo No files copied. pause exit :proceed echo. echo Files Copied will be listed below echo --------------------------------- echo Reviewing files.. echo. rem @echo on XCOPY \\ucce-lab-cvp-1a\c$\inetpub\wwwroot\en-us \\ucce-lab-cvp-1b\c$\inetpub\wwwroot\en-us /S /D /Y pause