source: other-projects/is-sheet-music-encore/trunk/COMPX520-RUN-META.sh@ 33017

Last change on this file since 33017 was 33017, checked in by cpb16, 2 years ago

Renamed Downloaders as .sh; Completed a metadata formater script; Creating a metadata extractor java program; Have found error in code for downloading records. Commandline thinks that some ids are directories, need to correct that

  • Property svn:executable set to *
File size: 296 bytes
Line 
1#!/bin/bash
2
3if [ $# != 1 ] ; then
4 echo "Usage: ./COMPX520-RUN-META.sh doc_id" 1>&2
5 exit 1
6fi
7
8doc_id=$1
9
10output_file="java-gen-corpus/download-meta/$doc_id-META.txt"
11echo "Retrieving doc-id-page: $doc_id -> $output_file"
12echo ""
13
14./dapiclient2-extended-META.pl "$doc_id" > "$output_file"
15
16
Note: See TracBrowser for help on using the repository browser.