source: main/trunk/model-sites-dev/atea/collect/digital-nz/prepare/02-RUN.sh@ 34459

Last change on this file since 34459 was 34459, checked in by davidb, 4 years ago

Now works with dnzkey.txt to separate out where the key is stored

  • Property svn:executable set to *
File size: 629 bytes
Line 
1#!/bin/bash
2
3if [ "x$PYTHONPATH" = "x" ] ; then
4 export PYTHONPATH="`pwd`/pydnz"
5else
6 export PYTHONPATH="`pwd`/pydnz:$PYTHNOPATH"
7fi
8
9echo
10echo "Set environment variable PYTHONPATH to:"
11echo " $PYTHONPATH"
12echo
13
14./dnz-search-language-mi--python3.py
15
16echo
17echo "****"
18echo "* Downloaded JSON records saved to: "
19echo "* import"
20echo "*"
21echo "* To remove a previous download set from collection's import folder:"
22echo "* echo ../import/http* | xargs rm"
23echo "*"
24echo "* To move in a freshly downloaded set into the collection's import folder"
25echo "* echo import/http* | xargs mv -t ../import/"
26echo "****"
27echo
Note: See TracBrowser for help on using the repository browser.