Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added drush command options print out

...

This will populate the queue (stored in the Drupal database) with PID entries. Note that the --parent parameter must be a newspaper title object, not an issue object or a collection object.

Here are the options in the drush command:
```
drush help islandora_batch_scan_preprocess

Examples:
drush -v --user=admin --uri=http://digital.library.yorku.ca islandora_batch_scan_preprocess --content_models=islandora:sp_large_image_cmodel --parent=yul:F0433 --parent_relationship_pred=isMemberOfCollection --type=directory --target=/tmp/batch_ingest


Options:

--content_models
Supports one or multiple comma-separated content models which are all applied to each ingested object.

--namespace
Namespace of objects to create. Defaults to namespace specified in Fedora configuration.

--parent
The collection to which the generated items should be added. Defaults to the root Islandora repository PID.

--parent_relationship_pred
The predicate of the relationship to the parent. Defaults to "isMemberOfCollection".

--parent_relationship_uri
The namespace URI of the relationship to the parent. Defaults to "info:fedora/fedora-system:def/relations-ex ternal#".

--target
The target to directory or zip file to scan. Requires the full path to your archive from root directory. e.g. /var/www/drupal/sites/archive.zip Required.

--type
Either "directory" or "zip". The zip importer is unstable with large files (~2GB). Consider alternative methods such as unzipping your Zip file and using Islandora Batch's`--directory` option. Required.

--zip_encoding
The encoding of filenames contained in ZIP archives:Only relevant with --scan_target=zip. Defaults to the native encoding being used by PHP.

Aliases: ibsp
```

Third, process all items in the batch queue:

...