source: main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/04-COPY-VOTING-METADATA-TO-IMPORT.sh@ 35991

Last change on this file since 35991 was 35905, checked in by davidb, 2 years ago

Adding in generation of gsf-headMetaTags.xml file, rather then simply printing it out to the screen

  • Property svn:executable set to *
File size: 670 bytes
Line 
1#!/bin/bash
2
3
4echo ""
5echo "Copying:"
6
7for d in ../import/sparqlresults-* ; do
8 if [ -d "$d" ] ; then
9 echo " voting-excel/metadata-votes-tocountry.json -> $d/metadata.json"
10 /bin/cp "voting-excel/metadata-votes-tocountry.json" "$d/metadata.json"
11 fi
12done
13
14
15echo ""
16echo "Copying:"
17
18echo " voting-excel/metadata-votes/* ../import/fromcountry-metadata-votes/."
19/bin/rm -rf "../import/fromcountry-metadata-votes"
20/bin/cp -r voting-excel/metadata-votes ../import/fromcountry-metadata-votes
21
22echo ""
23echo "Copying:"
24echo " voting-excel/collectionConfig--gsf-headMetaTags.xml ../etc/."
25/bin/cp voting-excel/collectionConfig--gsf-headMetaTags.xml ../etc/.
26
27echo ""
28
29
Note: See TracBrowser for help on using the repository browser.