Changeset 34739


Ignore:
Timestamp:
2021-01-29T14:56:38+13:00 (3 years ago)
Author:
davidb
Message:

Changed so a graph can be specified at the command-line (graph is 1st argument; 2nd argument the TTL file to read in)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/LOCAL-PUT-ESC-LOD.sh

    r34685 r34739  
    11#!/bin/bash
    22
    3 input_ttl_file=${1:-eurovision-errata.ttl}
     3graph=${1:-eurovision-errata}
     4input_ttl_file=${2:-eurovision-errata.ttl}
    45
    56#s-put http://localhost:3030/greenstone/data default "$input_ttl_file"
     
    1011#      also automatically add stored tripples in the default graph
    1112
    12 s-put http://localhost:3030/greenstone/data eurovision "$input_ttl_file"
     13s-put http://localhost:3030/greenstone/data "$graph" "$input_ttl_file"
    1314
    1415
Note: See TracChangeset for help on using the changeset viewer.