source: gs2-extensions/apache-jena/trunk/src/src/gs-triplestore-reset@ 28467

Last change on this file since 28467 was 28467, checked in by davidb, 11 years ago

Script to reset a parituclar 'collection'/graph

  • Property svn:executable set to *
File size: 357 bytes
Line 
1#!/bin/bash
2
3if [ $# -ne 1 ] ; then
4 echo "Usage: $0 collect-name" >&2
5 exit 1
6fi
7
8graph_name=$1
9
10# The following line helps with runing a she-bang line of:
11# '#!/usr/bin/env ruby'
12# when the current script has been run from Perl under Cygwin
13#
14export PATH=/usr/bin:$PATH
15
16s-update --service http://localhost:3030/greenstone/update "CLEAR $graph_name"
Note: See TracBrowser for help on using the repository browser.