Created
February 17, 2023 23:32
-
-
Save pdbartsch/bf6727e9aeb8da7bee72b675a90766fa to your computer and use it in GitHub Desktop.
Simple Windows batch file to backup our movies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo OFF | |
set source_folder=M:\Movies | |
set target_folder=G:\Movies | |
echo Syncing Movies from source to target | |
robocopy %source_folder% %target_folder% /s /xc /z /ETA /log:"G:\sync.log" | |
echo Syncing Movies from target to source | |
robocopy %target_folder% %source_folder% /s /xc /z /ETA /log:"G:\sync.log" | |
echo Syncing Movies complete | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment