Changeset 8855
- Timestamp:
- 2004-12-17T16:53:09+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/import.pl
r8796 r8855 161 161 'reqd' => "no", 162 162 'modegli' => "3" }, 163 { 'name' => "removeprefix", 164 'desc' => "{BasClas.removeprefix}", 165 'type' => "string", 166 'deft' => "", 167 'reqd' => "no" } , 168 { 'name' => "removesuffix", 169 'desc' => "{BasClas.removesuffix}", 170 'type' => "string", 171 'deft' => "", 172 'reqd' => "no" }, 163 173 { 'name' => "statsfile", 164 174 'desc' => "{import.statsfile}", … … 191 201 $removeold, $saveas, $gzip, $groupsize, $OIDtype, $debug, 192 202 $maxdocs, $collection, $configfilename, $collectcfg, 193 $pluginfo, $sortmeta, $archive_info_filename, $statsfile, 203 $pluginfo, $sortmeta, $removeprefix, $removesuffix, 204 $archive_info_filename, $statsfile, 194 205 $archive_info, $processor, $out, $faillog, $collectdir, $gli); 195 206 … … 213 224 'OIDtype/^(hash|incremental|assigned|dirname)$/', \$OIDtype, 214 225 'sortmeta/.*/', \$sortmeta, 226 'removeprefix/.*/', \$removeprefix, 227 'removesuffix/.*/', \$removesuffix, 215 228 'debug', \$debug, 216 229 'maxdocs/^\-?\d+/', \$maxdocs, … … 224 237 die "\n"; 225 238 } 239 226 240 # If $language has been specified, load the appropriate resource bundle 227 241 # (Otherwise, the default resource bundle will be loaded automatically) … … 400 414 $processor = new docsave ($collection, $archive_info, $verbosity, $gzip, $groupsize, $out, $service, $saveas); 401 415 $processor->setarchivedir ($archivedir); 402 $processor->set_sortmeta ($sortmeta ) if defined $sortmeta;416 $processor->set_sortmeta ($sortmeta, $removeprefix, $removesuffix) if defined $sortmeta; 403 417 $processor->set_OIDtype ($OIDtype); 404 418 $processor->set_saveas ($saveas);
Note:
See TracChangeset
for help on using the changeset viewer.