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
|
---|
2 | if [ $# != 2 ] ; then
|
---|
3 | echo "Usage: ./COMPX520-DOWNLOADER-PNG-10PAGES-hi-res.sh <filename> <location>" 1>&2
|
---|
4 | exit 1
|
---|
5 | fi
|
---|
6 |
|
---|
7 | file_name=$1
|
---|
8 | location=$2
|
---|
9 | page_num=0
|
---|
10 | count=0
|
---|
11 |
|
---|
12 | for 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
|
---|
24 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.