public class Idmap
extends java.lang.Object
badparms
for usage doc.Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
The main program for the Idmap class
|
public static void main(java.lang.String[] args)
args
- The command line arguments are as follows:
props=[properties file name] # Required
dir=[input directory] # Required
coll=[metadata format]/[collection key] # Optional, may be repeated
email=normal | force | print | [email address]
Testing/debug parms ...
bugs=[debugLevel] # Set debug level. default is 0.
checknet=[y/n] # Check network before beginning. Default is y
maxthreads=[num] # Force maxthreads. Default is 0: use the props file number
Example: to check links on all active collections:
java org.dlese.dpc.services.idmapper.Idmap
props=somePropsFile dir=/export/dlese/records
Example: to test two individual collections (adl and dcc),
both using adn format, and print the output:
java org.dlese.dpc.services.idmapper.Idmap
props=somePropsFile
dir=/export/dlese/records
coll=adn/adl coll=adn/dcc email=print