source: other-projects/is-sheet-music-encore/trunk/COMPX520-RUN-ZIP.sh~@ 33010

Last change on this file since 33010 was 33010, checked in by cpb16, 2 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: 259 bytes
Line 
1#!/bin/bash
2
3if [ $# != 1 ] ; then
4 echo "Usage: ./RUN-ZIP.sh doc_id" 1>&2
5 exit 1
6fi
7
8doc_id=$1
9
10output_file="download-zips/$doc_id.zip"
11echo "Retrieving doc-id: $doc_id -> $output_file"
12echo ""
13
14./dapiclient2-extended-ZIP.pl "$doc_id" > "$output_file"
15
16
Note: See TracBrowser for help on using the repository browser.