IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 30, 2008, 10:21:10 AM (18 years ago)
Author:
bills
Message:

added --copies paramater to pass to dsget

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/summit_copy.pl

    r17662 r19788  
    2323# Parse the command-line arguments
    2424my ( $uri, $filename, $compress, $bytes, $md5, $nebulous, $exp_name, $inst, $telescope, $class, $class_id, $end_stage, $workdir,
    25      $dbname, $verbose, $no_update, $no_op, $timeout );
     25     $dbname, $verbose, $no_update, $no_op, $timeout, $copies );
    2626GetOptions(
    2727       'uri=s'          => \$uri,       # source location of file on data store
     
    4343       'no-op'          => \$no_op,     # Don't do any operations?
    4444       'timeout=s'      => \$timeout,   # passed through to dsget
     45       'copies=i'       => \$copies,    # passed through to dsget
    4546) or pod2usage( 2 );
    4647
     
    7677$command .= " --md5 $md5"           if defined $md5;
    7778$command .= " --timeout $timeout"   if defined $timeout;
     79$command .= " --copies $copies"     if defined $copies;
    7880
    7981# run command
Note: See TracChangeset for help on using the changeset viewer.