Last change
on this file since 33589 was 33589, checked in by cpb16, 5 years ago |
final01. Need Map results still
|
-
Property svn:executable
set to
*
|
File size:
439 bytes
|
Rev | Line | |
---|
[33589] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | if [ $# != 3 ] ; then
|
---|
| 4 | echo "Usage: ./COMPX520-RUN-PNG-hi-res.sh doc_id page location" 1>&2
|
---|
| 5 | exit 1
|
---|
| 6 | fi
|
---|
| 7 |
|
---|
| 8 | doc_id=$1
|
---|
| 9 | page_num=$2
|
---|
| 10 | location=$3
|
---|
| 11 |
|
---|
| 12 | doc_id_file=`echo $doc_id | sed 's/:/+/' | sed 's/\//=/g'`
|
---|
| 13 |
|
---|
| 14 |
|
---|
| 15 | output_file="hires-download-images-map/$location/$doc_id_file-$page_num.png"
|
---|
| 16 | echo "Retrieving doc-id-page: $doc_id-$page_num -> $output_file"
|
---|
| 17 | echo ""
|
---|
| 18 |
|
---|
| 19 | ./dapiclient2-extended-hi-res.pl "$doc_id/$page_num" > "$output_file"
|
---|
| 20 |
|
---|
| 21 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.