Kalman-and-Bayesian-Filters.../pdf/run_notebooks.bat
Roger Labbe 782119171d Fixed copy when directory not empty
Was copying the kf_book subdirectory into the existing one
if it was already there, causing PDF build failure if you
didn't clean prior to running it.
2018-02-02 10:52:05 -08:00

11 lines
245 B
Batchfile

mkdir tmp
copy ..\*.ipynb .\tmp
copy ..\*.py .\tmp
cp -r ..\kf_book\ .\tmp\
cd tmp
forfiles /m *.ipynb /c "cmd /c ipython ..\rm_notebook.py @file"
forfiles /m *.ipynb /c "cmd /c jupyter nbconvert --to notebook --execute @file --output @file"