Changeset 25418 for trunk/ippScripts/scripts/register_imfile.pl
- Timestamp:
- Sep 16, 2009, 9:44:29 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/register_imfile.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/register_imfile.pl
r23831 r25418 34 34 my $ppStatsFromMetadata = can_run( 'ppStatsFromMetadata' ) or (warn "Can't find ppStatsFromMetadata" and $missing_tools = 1); 35 35 36 my ($cache, $exp_id, $tmp_class_id, $tmp_exp_name, $uri, $ dbname, $verbose, $no_update, $no_op, $logfile);36 my ($cache, $exp_id, $tmp_class_id, $tmp_exp_name, $uri, $bytes, $md5sum, $dbname, $verbose, $no_update, $no_op, $logfile); 37 37 GetOptions( 38 38 'caches' => \$cache, … … 41 41 'tmp_exp_name|n=s' => \$tmp_exp_name, 42 42 'uri|u=s' => \$uri, 43 'bytes=s' => \$bytes, 44 'md5sum=s' => \$md5sum, 43 45 'dbname|d=s' => \$dbname, # Database name 44 46 'verbose' => \$verbose, # Print to stdout … … 123 125 $command .= " -tmp_class_id $tmp_class_id"; # the original class_id supplied by the user, replace by ppStats CLASS.ID 124 126 $command .= " -uri $uri "; 127 $command .= " -bytes $bytes" if $bytes; 128 $command .= " -md5sum $md5sum" if $md5sum and ($md5sum ne 'NULL'); 125 129 $command .= " -hostname $host" if defined $host; 126 130 $command .= " -dbname $dbname" if defined $dbname;
Note:
See TracChangeset
for help on using the changeset viewer.
