Changeset 16368 for trunk/DataStore/scripts/dsget
- Timestamp:
- Feb 8, 2008, 9:30:38 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/DataStore/scripts/dsget (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataStore/scripts/dsget
r16342 r16368 3 3 # Copyright (C) 2006-2008 Joshua Hoblitt 4 4 # 5 # $Id: dsget,v 1.1 3 2008-02-06 23:48:13eugene Exp $5 # $Id: dsget,v 1.14 2008-02-08 19:30:38 eugene Exp $ 6 6 7 7 use strict; … … 20 20 use Pod::Usage qw( pod2usage ); 21 21 22 my ($uri, $bytes, $md5, $nebulous, $filename, $volume, $server );22 my ($uri, $bytes, $md5, $nebulous, $filename, $volume, $server, $compress); 23 23 24 24 $server = $ENV{'NEB_SERVER'} unless $server; … … 32 32 'md5|m=s' => \$md5, 33 33 'filename|f=s' => \$filename, 34 'compress' => \$compress, 34 35 ) or pod2usage( 2 ); 35 36 … … 62 63 # 1) parse anyway and check for conflict 63 64 # 2) drop --volume option 65 66 if ($compress) { 67 $uri = "$uri?compress"; 68 } 64 69 65 70 my %p = ( … … 166 171 =head1 SYNOPSIS 167 172 168 dsget --uri <uri> --filename <filename> [--bytes <nbytes>] [--md5 <hex>] 173 dsget --uri <uri> --filename <filename> [--bytes <nbytes>] [--md5 <hex>] [--compress] 169 174 [--nebulous] [--volume <volume name>] 170 175
Note:
See TracChangeset
for help on using the changeset viewer.
