Last change
on this file since 33014 was 33014, checked in by cpb16, 5 years ago |
Created metadata downloader for numpages metadata
|
-
Property svn:executable
set to
*
|
File size:
331 bytes
|
Rev | Line | |
---|
[33014] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | if [ $# != 2 ] ; then
|
---|
| 4 | echo "Usage: ./COMPX520-RUN-PAGENUM.sh doc_id page" 1>&2
|
---|
| 5 | exit 1
|
---|
| 6 | fi
|
---|
| 7 |
|
---|
| 8 | doc_id=$1
|
---|
| 9 | page_num=$2
|
---|
| 10 |
|
---|
| 11 | output_file="download-pagenum/$doc_id-$page_num.txt"
|
---|
| 12 | echo "Retrieving doc-id-page: $doc_id-$page_num -> $output_file"
|
---|
| 13 | echo ""
|
---|
| 14 |
|
---|
| 15 | ./dapiclient2-extended-PAGENUM.pl "$doc_id/$page_num" > "$output_file"
|
---|
| 16 |
|
---|
| 17 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.