Changeset 27229
- Timestamp:
- Mar 9, 2010, 3:29:56 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/DataStore/scripts/dsgetfileset (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataStore/scripts/dsgetfileset
r27208 r27229 17 17 use File::Basename qw( basename ); 18 18 19 my ($uri, $outdir, $timeout, $ no_proxy, $verbose);19 my ($uri, $outdir, $timeout, $skip_checks, $no_proxy, $verbose); 20 20 21 21 GetOptions( … … 23 23 'outdir|o=s' => \$outdir, 24 24 'timeout|t=s' => \$timeout, 25 'skip-checks' => \$skip_checks, 25 26 'no-proxy' => \$no_proxy, 26 27 'verbose|v' => \$verbose, … … 79 80 my $bytes = $fs->bytes; 80 81 81 my $command = "dsget --uri $uri --filename $outfile --md5 $md5 --bytes $bytes --timeout $timeout"; 82 my $command = "dsget --uri $uri --filename $outfile --timeout $timeout"; 83 $command .= " --md5 $md5 --bytes $bytes" if !$skip_checks; 82 84 print "$command\n" if $verbose; 83 85 my $rc = system $command;
Note:
See TracChangeset
for help on using the changeset viewer.
