...
Here are the options in the drush command:
```
drush help islandora_newspaper_batch_scan_preprocess
Preprocessed newspaper issues into database entries.
OptionsExamples: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 -aggregate_ocr A flag to cause OCR to be aggregated to issues, if OCR is also being generated per-page.
--content_models A comma-separated list of content models to assign to the objects. Only applies to the "newspaper issue"
level object.
--create_pdfs A flag to cause PDFs to be created in newspaper issues. Page PDF creation is dependant on the configuration
within Drupal proper.
--directory_dedup A flag to indicate that we should avoid repreprocessing newspaper issues which are located in directories.
--do_not_generate_ocr A flag to allow for conditional OCR generation.
--email_admin A flag to notify the site admin when the newspaper issue is fully ingested (depends on Rules being enabled).
--namespace The namespace for objects created by this command. Defaults to namespace set in Fedora config.
--parent 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. Only applies to the "newspaper issue" level
object. If "directory" and the directory containing the newspaper issue description is a valid PID, it will
be set as the parent. If this is specified and itself is a PID, all newspapers issue will be related to the
given PID. Required.
Defaults to the root Islandora repository PID.
--parent_relationship_pred
pred The predicate of the relationship to the parent. Defaults to "isMemberOfCollectionisMemberOf".
--parent_relationship_uri
uri The namespace URI of the relationship to the parent. Defaults to to
"info:fedora/fedora-system:def/relations-ex ternal#external#".
--target
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
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 wait_for_metadata A flag to indicate that we should hold off on trying to ingest newspaper issues until we have metadata
available for them at the newspaper issue level PHP.
Aliases: ibspinbp
```
Third, process all items in the batch queue:
...