Last change
on this file since 34866 was 34866, checked in by davidb, 3 years ago |
Change to work with exploding (GS terminology) the sparqlresutls-*.json file
|
-
Property svn:executable
set to
*
|
File size:
501 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | if [ ! -d tmp ] ; then
|
---|
4 | echo "Making temporary directory: tmp"
|
---|
5 | mkdir tmp
|
---|
6 | fi
|
---|
7 |
|
---|
8 | echo "Creating temporary copies:"
|
---|
9 |
|
---|
10 | for f in "local--countries-in-esc-by-year-after-1956--with-errata.json" ; do
|
---|
11 |
|
---|
12 | echo " errata-lod/$f -> tmp/sparqlresults-$f"
|
---|
13 | /bin/cp "errata-lod/$f" "tmp/sparqlresults-$f"
|
---|
14 | done
|
---|
15 |
|
---|
16 | echo "Regenerating sparqlresults-* files in '../import' (from exploded results in 'tmp')"
|
---|
17 |
|
---|
18 | /bin/rm -rf ../import/sparqlresults-*
|
---|
19 | /bin/mv tmp/sparqlresults-* ../import/.
|
---|
20 |
|
---|
21 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.