View Single Post
Old 07-20-2018, 10:49 AM   #18
Bertrand
Zealot
Bertrand began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Dec 2008
Location: France
Device: None
calibre 3.28

After this update, everything's ok. Script up and running.
Thanks for your help.

Code:
@echo off
set CURDATE=%date:~-4%%date:~3,2%%date:~0,2%
:: calibre Library
set SOURCE=C:\Calibre
:: backup folder : calibre_yyyymmdd
set DESTINATION=Y:\_BACKUPS\calibre_%CURDATE%
mkdir %DESTINATION%
calibre-debug --export-all-calibre-data %DESTINATION% %SOURCE%
pause
:: ...Other stuff here...
Bertrand is offline   Reply With Quote