This script copies multiple source directories to multiple destinations. This is usecful for creating crude backup jobs, but keep in mind that there are no checksum checks yet.
- Create a batch file in this format or you may edit the provided
autobackup.bat
@echo off
echo "Backing up..."
python3 -s Y:\source_dir1 X:\source_dir2 "Y:\source dir 3" -d "X:\destination 1" X:\destination2 Z:\destination3
echo "Python script done"
pause
- Run it by
cd autobackup
autobakcup.bat
The number of -s parameters should be equal to the -d