Last change
on this file since 33014 was 33010, checked in by cpb16, 5 years ago |
Updated and Renamed PNG retrieving code, ZIP file downlading is also now possible. All code runs as expected
|
-
Property svn:executable
set to
*
|
File size:
268 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | if [ $# != 1 ] ; then
|
---|
4 | echo "Usage: ./COMPX520-RUN-ZIP.sh doc_id" 1>&2
|
---|
5 | exit 1
|
---|
6 | fi
|
---|
7 |
|
---|
8 | doc_id=$1
|
---|
9 |
|
---|
10 | output_file="download-zips/$doc_id.zip"
|
---|
11 | echo "Retrieving doc-id: $doc_id -> $output_file"
|
---|
12 | echo ""
|
---|
13 |
|
---|
14 | ./dapiclient2-extended-ZIP.pl "$doc_id" > "$output_file"
|
---|
15 |
|
---|
16 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.