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

Revision 33059, 344 bytes (checked in by cpb16, 4 months ago)

backup after downloading 5000 MU pages

  • 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
9
10for id in `cat $file_name` ; do
11   for page_num in {1..10}
12   do
13        echo "id: $id  page_num: $page_num"     
14        ./COMPX520-RUN-PNG.sh $id $page_num
15        page_num=$((page_num+1))
16    done
17    echo ""
18  sleep 2 
19done
Note: See TracBrowser for help on using the browser.