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

Revision 33017, 296 bytes (checked in by cpb16, 6 months 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 *
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 browser.