source: other-projects/is-sheet-music-encore/trunk/COMPX520-DOWNLOADER-PNG-10PAGES-hi-res.sh@ 33375

Last change on this file since 33375 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: 481 bytes
Line 
1#!/bin/bash
2if [ $# != 2 ] ; then
3 echo "Usage: ./COMPX520-DOWNLOADER-PNG-10PAGES-hi-res.sh <filename> <location>" 1>&2
4 exit 1
5fi
6
7file_name=$1
8location=$2
9page_num=0
10count=0
11
12for id in `cat $file_name` ; do
13 for page_num in {1..10}
14 do
15 echo "id: $id page_num: $page_num"
16 ./COMPX520-RUN-PNG-hi-res.sh $id $page_num $location
17 page_num=$((page_num+1))
18 count=$((count+1))
19 echo "PNG's downloaded:" $count
20
21 done
22 echo ""
23 sleep 2
24done
Note: See TracBrowser for help on using the repository browser.