...
Code Block | ||||
---|---|---|---|---|
| ||||
Usage: migration-utils [-chrVx] [--debug] -a=<targetDir> [-d=<f3DatastreamsDir>] [-e=<f3ExportedDir>] [-f=<f3hostname>] \
[-i=<indexDir>] [-l=<objectLimit>] [-m=<migrationType>] [-o=<f3ObjectsDir>] [-p=<pidFile>] -t=<f3SourceType> [-u=<user>] [-U=<userUri>]
-h, --help
Show this help message and exit.
-V, --version
Print version information and exit.
-t, --source-type=<f3SourceType>
Fedora 3 source type. Choices: akubra | legacy | exported
-d, --datastreams-dir=<f3DatastreamsDir>
Directory containing Fedora 3 datastreams (used with --source-type 'akubra' or 'legacy')
-o, --objects-dir=<f3ObjectsDir>
Directory containing Fedora 3 objects (used with --source-type 'akubra' or 'legacy')
-e, --exported-dir=<f3ExportedDir>
Directory containing Fedora 3 export (used with --source-type 'exported')
-a, --target-dir=<targetDir>
Directory where OCFL storage root and supporting state will be written
-I, --delete-inactive
Migrate objects and datastreams in the Inactive state as deleted.
Default: false.
-m, --migration-type=<migrationType>
Type of OCFL objects to migrate to. Choices: FEDORA_OCFL | PLAIN_OCFL
Default: FEDORA_OCFL
-l, --limit=<objectLimit>
Limit number of objects to be processed.
Default: no limit
-r, --resume
Resume from last successfully migrated Fedora 3 object
Default: false
-c, --continue-on-error
Continue to next PID if an error occurs (instead of exiting). Disabled by default.
Default: false
-p, --pid-file=<pidFile>
PID file listing which Fedora 3 objects to migrate
-i, --index-dir=<indexDir>
Directory where cached index of datastreams (will reuse index if already exists)
-x, --extensions
Add file extensions to migrated datastreams based on mimetype recorded in FOXML
Default: false
-f, --f3hostname=<f3hostname>
Hostname of Fedora 3, used for replacing placeholder in 'E' and 'R' datastream URLs
Default: fedora.info
-u, --username=<user>
The username to associate with all of the migrated resources.
Default: fedoraAdmin
-U, --user-uri=<userUri>
The username URI to associate with all of the migrated resources.
Default: info:fedora/fedoraAdmin
--debug
Enables debug logging |
...