I have now successfully added Robocopy and have the following running in Task Scheduler (If I remove the quotes it won't run). Everything is tested and running! Thank you!
robocopy "Z:\Debby\My Documents\Calibrelibrary\Debs" "Z:\Debby\My Documents\Calibre Saved Libraries\BatchFile BU" /s /purge /xo /r:1 /w:1
I also created another batch file to back up the metadata data using Starson17's code.
@echo off
REM metafile copy documents
Z:
cd\Debby\My Documents\Calibrelibrary\Debs
if exist metadata.db.6 del metadata.db.6
if exist metadata.db.5 ren metadata.db.5 metadata.db.6
if exist metadata.db.4 ren metadata.db.4 metadata.db.5
if exist metadata.db.3 ren metadata.db.3 metadata.db.4
if exist metadata.db.2 ren metadata.db.2 metadata.db.3
if exist metadata.db.1 ren metadata.db.1 metadata.db.2
if exist metadata.db copy metadata.db metadata.db.1
move metadata.db.* "Z:\Debby\My Documents\Calibre Saved Libraries\Metafile BU
|