root/other-projects/is-sheet-music-encore/trunk/COMPX520-DOWNLOADER-PNG-10PAGES.sh @ 33066

Revision 33066, 419 bytes (checked in by cpb16, 5 months ago)

Corrected makefile and 10page downloader

  • Property svn:executable set to *
Line 
1#!/bin/bash
2if [ $# != 1 ] ; then
3  echo "Usage: ./COMPX520-RUN-PNG.sh <filename>" 1>&2
4  exit 1
5fi
6
7file_name=$1
8page_num=0
9count=0
10
11for id in `cat $file_name` ; do
12   for page_num in {1..10}
13   do
14        echo "id: $id  page_num: $page_num"     
15        ./COMPX520-RUN-PNG.sh $id $page_num
16        page_num=$((page_num+1))
17        count=$((count+1))
18        echo "PNG's downloaded:" $count
19       
20    done
21    echo ""
22  sleep 2 
23done
Note: See TracBrowser for help on using the browser.