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

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

Introduction of scripts for building a 'small' collection (based on just entries from 2015) useful for testing purposes; needed some mods to their companion ALL-CAPS scripts

  • Property svn:executable set to *
File size: 565 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/*2015* ../import/fromcountry-metadata-votes/."
19/bin/rm -rf "../import/fromcountry-metadata-votes"
20mkdir "../import/fromcountry-metadata-votes"
21/bin/cp -r voting-excel/metadata-votes/*2015* ../import/fromcountry-metadata-votes/.
22
23echo ""
24
25
Note: See TracBrowser for help on using the repository browser.