Last change
on this file since 33017 was 33017, checked in by cpb16, 5 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
|
Rev | Line | |
---|
[33014] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | if [ $# != 1 ] ; then
|
---|
| 4 | echo "Usage: ./COMPX520-RUN-META.sh doc_id" 1>&2
|
---|
| 5 | exit 1
|
---|
| 6 | fi
|
---|
| 7 |
|
---|
| 8 | doc_id=$1
|
---|
| 9 |
|
---|
[33017] | 10 | output_file="java-gen-corpus/download-meta/$doc_id-META.txt"
|
---|
[33014] | 11 | echo "Retrieving doc-id-page: $doc_id -> $output_file"
|
---|
| 12 | echo ""
|
---|
| 13 |
|
---|
| 14 | ./dapiclient2-extended-META.pl "$doc_id" > "$output_file"
|
---|
| 15 |
|
---|
| 16 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.