usage: oai-harvest [-h] [--db DATABASEPATH] [-p METADATAPREFIX]
[-f YYYY-MM-DD] [-u YYYY-MM-DD] [-s SET] [-d DIR]
[--delete | --no-delete] [-l LIMIT]
[--create-subdirs | --subdirs-on SUBDIRS]
provider [provider ...]
Harvest records from an OAI-PMH provider.
positional arguments:
provider OAI-PMH Provider from which to harvest. This may be
the base URL of an OAI-PMH server, or the short name
of a registered provider. You may also specify "all"
for all registered providers.
optional arguments:
-h, --help show this help message and exit
--db DATABASEPATH, --database DATABASEPATH
Path to provider registry database. Currently supports
sqlite3 only.
-p METADATAPREFIX, --metadataPrefix METADATAPREFIX
the metadataPrefix of the format (XML Schema) in which
records should be harvested.
-f YYYY-MM-DD, --from YYYY-MM-DD
harvest only records added/modified after this date.
-u YYYY-MM-DD, --until YYYY-MM-DD
harvest only records added/modified up to this date.
-s SET, --set SET harvest only records within this set
-d DIR, --dir DIR where to output files for harvested records.default:
current working path
--delete respect the server's instructions regarding deletions,
i.e. delete the files locally (default)
--no-delete ignore the server's instructions regarding deletions,
i.e. DO NOT delete the files locally
-l LIMIT, --limit LIMIT
limit the number of records to harvest from each
provider
--create-subdirs create target subdirs (based on / characters in
identifiers) ifthey don't exist. To use something
other than /, use the newer--subdirs-on option
--subdirs-on SUBDIRS create target subdirs based on occurrences of the
given character in identifiers
Copyright (c) 2013, the University of Liverpool <http://www.liv.ac.uk>. All
rights reserved. Distributed under the terms of the BSD 3-clause License
<http://opensource.org/licenses/BSD-3-Clause>.