source: gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes/SUBMIT-ALL-OPENANNOTATION-LISTS.sh@ 37079

Last change on this file since 37079 was 37079, checked in by davidb, 16 months ago

Some scripts to help build out submitting OpenAnnotation List JSON files to the SimpleAnnotationServer/Store servlet

  • Property svn:executable set to *
File size: 618 bytes
Line 
1#!/bin/bash
2
3oalist_files=`find archives -name "openannotation-list*.json" -print`
4
5
6echo ""
7echo "Deleting any existing IDs"
8for oalist_file in $oalist_files ; do
9 echo " $oalist_file"
10
11 oal_resource_ids=`./oalist-resoure-ids.py $oalist_file`
12
13 for oal_resource_id in $oal_resource_ids ; do
14 echo " $oal_resource_id"
15 ./DELETE-OPENANNOTATION-LIST.sh $oal_resource_id
16 done
17
18done
19
20
21# echo ""
22# echo "Populating with new versions of OpenAnnotation-List JSON files"
23
24# for oalist_file in $oalist_files ; do
25# echo $oalist_file
26# ./SUBMIT-OPENANNOTATION-LIST.sh $oalist_file
27# done
28
29
Note: See TracBrowser for help on using the repository browser.