root/other-projects/is-sheet-music-encore/trunk/COMPX520-RUN-PNG-size.sh @ 33319

Revision 33319, 424 bytes (checked in by cpb16, 2 months ago)

added high res download sorter

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3#if [ $# != 2 ] ; then
4#  echo "Usage: ./COMPX520-RUN-PNG.sh doc_id page" 1>&2
5#  exit 1
6#fi
7
8doc_id=coo.31924062612282
9page_num=9
10
11doc_id_file=`echo $doc_id | sed 's/:/+/' | sed 's/\//=/g'`
12
13
14output_file="download-images/TestImages/test-$doc_id_file-$page_num.png"
15echo "Retrieving doc-id-page: $doc_id-$page_num -> $output_file"
16echo ""
17
18./dapiclient2-extended-size.pl "$doc_id/$page_num" > "$output_file"
19
20
Note: See TracBrowser for help on using the browser.