Last change
on this file since 33449 was 33375, checked in by cpb16, 5 years ago |
Full backup after running first successful highres classifier run
|
-
Property svn:executable
set to
*
|
File size:
435 bytes
|
Line | |
---|
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/$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.