source:
other-projects/is-sheet-music-encore/trunk/RUN.sh@
33017
Last change on this file since 33017 was 32976, checked in by , 5 years ago | |
---|---|
|
|
File size: 305 bytes |
Rev | Line | |
---|---|---|
[32952] | 1 | #!/bin/bash |
2 | ||
[32976] | 3 | if [ $# != 2 ] ; then |
4 | echo "Usage: ./RUN.sh doc_id page" 1>&2 | |
[32952] | 5 | exit 1 |
6 | fi | |
7 | ||
[32976] | 8 | doc_id=$1 |
9 | page_num=$2 | |
[32952] | 10 | |
[32976] | 11 | output_file="download-images/$doc_id-$page_num.png" |
12 | echo "Retrieving doc-id-page: $doc_id-$page_num -> $output_file" | |
[32952] | 13 | echo "" |
14 | ||
[32976] | 15 | ./dapiclient2-extended.pl "$doc_id/$page_num" > "$output_file" |
[32952] | 16 | |
17 |
Note:
See TracBrowser
for help on using the repository browser.