Skip to content

Commit 690dca3

Browse files
committed
Add helper script to update the content.
1 parent 4ef4245 commit 690dca3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

python-data/update-script.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/bash
2+
3+
set -e
4+
5+
# Make sure isc is up to date.
6+
git -C ~/ncas-isc pull
7+
8+
# Update the files.
9+
cp ~/ncas-isc/python-data/exercises/ex04_cf_python.ipynb ~/my-isc-work/python-data/exercises/ex04_cf_python.ipynb
10+
cp -r ~/ncas-isc/python-data/data/ ~/my-isc-work/python-data/data
11+
cp ~/ncas-isc/python-data/solutions/ex04_cf_python.ipynb ~/my-isc-work/python-data/solutions/ex04_cf_python.ipynb
12+
cp -r ~/ncas-isc/python-data/notebooks ~/my-isc-work/python-data/notebooks

0 commit comments

Comments
 (0)