Jump to content
Wiki Home
EPrints Home
Bazaar
Files
Main menu
Main menu
move to sidebar
hide
Navigation
Front Page
EPrints 3 Manual
EPrints Training Course
EPrints Glossary
Installing EPrints
How-to Configure EPrints
EPrints 3.2+ API
EPrints 3 Reference
EPrints Plugins
Wiki
All categories
Recent changes
Main Page
Help
EPrints Documentation
Search
Search
Appearance
Log in
Request account
Personal tools
Log in
Request account
Pages for logged out editors
learn more
Contributions
Talk
Editing
API:bin/import
(section)
Page
Discussion
British English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==OPTIONS== * '''--user USERID/USERNAME''' : For eprint datasets only. (not user or subject). : Sets the userid/username of the user in the system who will own the imported records. : Usually required for importing EPrint records. This may not be required if the import format contains the userid value, eg. an import in the EPrints 3 XML format. : If this is an integer then it is assumed to be the userid of the user, otherwise it is assumed to be the username. : You may wish to create one or more "bulk import" users and make imported eprint records belong to them. * '''--argument key=value''' : Add an argument to the import plugin. May be repeated. Effects depend on the import plugin. * '''--parse-only''' : Don't import, just check the file. * '''--migration''' : Turn on all the options needed to correctly import an XML data file exported from version 2, using the migration toolkit. Implies --enable-web-imports --enable-file-imports --force * '''--enable-import-fields''' : Allow the import to set fields that are set as not to be imported. This is typically used to specify the imported object id. * '''--enable-file-imports''' : Allow the imported data to import files from the local filesystem. This can obviously be seen as a security hole if you don't trust the data you are importing. This sets the "enable_file_imports" configuration option for this session only. * '''--enable-web-imports''' : Allow the imported data to import files from the Web. This can obviously be seen as a security hole if you don't trust the data you are importing. This sets the "enable_web_imports" configuration option for this session only. * '''--xml''' : Output to STDOUT the parsed objects in EPrints XML (does not import anything). * '''--update''' : Normally you can not import a new item with the same id as an existing item. With this option enabled existing items will be updated with the new item. Combine with --enable-import-fields to update all field values. * '''--force''' : Don't ask any questions, just do it! * '''--help''' : Print a brief help message and exit. * '''--man''' : Print the full manual page and then exit. * '''--quiet''' : Be vewwy vewwy quiet. This option will supress all output unless an error occurs. * '''--verbose''' : Explain in detail what is going on. May be repeated for greater effect. : Shows why a plugin is disabled. * '''--version''' : Output version information and exit. <pre> </pre> <!-- Edit below this comment --> '''Please note''' that the ''--update'' option described above '''will not''' work in EPrint versions prior to v3.3.12 without an edit to the bin/import module. See here for details. [https://github.com/eprints/eprints/commit/a5eb05abd14606d26f746e1f2d499bd11104c3ae] <!-- Pod2Wiki= --> <!-- Pod2Wiki=head_copyright -->
Summary:
Please note that all contributions to EPrints Documentation may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
EPrints Documentation:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)