Commit 2c33f0ef34c0b37f27318143dc8a2e803202a7bc

Authored by Barry Norton
1 parent a1d4e482ee
Exists in master

Improved the scripts

Showing 2 changed files with 9 additions and 2 deletions

1 1 #!/bin/sh
2   -rm -f dump.out; (for mapping in mappings/*.ttl; do echo "$mapping"; done) | sed 's!mappings/!!g' | sed 's!.ttl!!g' | while read mapping; do /media/rdf/MusicBrainz-R2RML/dump.sh $mapping >> dump.out; done
  2 +rm -f dump.out
  3 +for mappath in mappings/*.ttl; do
  4 + mapfile=$(basename "$mappath")
  5 + mapping=${mapfile%%.ttl}
  6 + sh ./dump.sh $mapping >> dump.out
  7 +done
1   -time java -Xmx4g -jar $ULTRAWRAP_HOME/ultrawrap-compile.jar r2rml -c musicbrainz_compile_config.properties -m mappings/$1.ttl -dump output/$1.nt
  1 +#!/bin/bash
  2 +java -Xmx4g -jar $ULTRAWRAP_HOME/ultrawrap-compile.jar r2rml -c musicbrainz_compile_config.properties -m mappings/$1.ttl -dump output/$1.nt
2 3 #> /dev/null