Changeset 32976
- Timestamp:
- 2019-04-04T15:18:10+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/is-sheet-music-encore/trunk/RUN.sh
r32952 r32976 1 1 #!/bin/bash 2 2 3 if [ $# != 1] ; then4 echo "Usage: ./RUN.sh doc_id " 1>&23 if [ $# != 2 ] ; then 4 echo "Usage: ./RUN.sh doc_id page" 1>&2 5 5 exit 1 6 6 fi 7 7 8 $doc_id=$1 8 doc_id=$1 9 page_num=$2 9 10 10 echo "Retrieving doc id: $doc_id -> $doc_id.png" 11 output_file="download-images/$doc_id-$page_num.png" 12 echo "Retrieving doc-id-page: $doc_id-$page_num -> $output_file" 11 13 echo "" 12 14 13 ./dapiclient2-extended.pl "$doc_id " > "$doc_id.png"15 ./dapiclient2-extended.pl "$doc_id/$page_num" > "$output_file" 14 16 15 17
Note:
See TracChangeset
for help on using the changeset viewer.