Updated dump/restore shell scripts : the API is now IndexExport_p.html

pull/122/head
luccioman 8 years ago
parent 29e5110627
commit 40403942db

@ -1,3 +1,3 @@
#!/usr/bin/env sh
cd "`dirname $0`"
./apicall.sh "/IndexControlURLs_p.xml?indexdump=" | awk '/<dumpfile>/{ gsub("<dumpfile>","" );gsub("<\/dumpfile>","" ); print $0 }' | awk '{print $1}';
./apicall.sh "/IndexExport_p.html?indexdump=" > /dev/null

@ -1,3 +1,3 @@
#!/usr/bin/env sh
cd "`dirname $0`"
./apicall.sh "/IndexControlURLs_p.xml?indexrestore=&dumpfile=$1" > /dev/null
./apicall.sh "/IndexExport_p.html?indexrestore=&dumpfile=$1" > /dev/null

Loading…
Cancel
Save