Skip to content
Snippets Groups Projects
Commit ef65c1e1 authored by Jens Steidl's avatar Jens Steidl :baby_chick:
Browse files

- updated examples: now working out-of-the-box

parent a18b188f
No related branches found
No related tags found
No related merge requests found
......@@ -974,74 +974,66 @@ Options:
=head1 EXAMPLES
=head2 Copy (minimalistic)
perl bin/slubsipbuilderbagit.pl
--save_option=copy
--IE_directory=/IE/git/SLUB_SIP_Builder/export_dir_kitodo/bagit/test2
--SIP_output_path=/output_sips
--ppn=457035137
--SIP_version=v2020.1
--external_id=10008
--external_workflow=kitodo
--external_ISIL=DE-14
--external_value_descr="Gesetzlicher Auftrag"
--rights_version=1.0
--rights_xml=/metadata/rights/Fallbeispiel-02.xml
=head2 Copy
perl bin/slubsipbuilderbagit.pl
--save_option=copy
--IE_directory=/IE/git/SLUB_SIP_Builder/export_dir_kitodo/bagit/test2
--SIP_output_path=/output_sips
--ppn=457035137
--SIP_version=v2020.1
--external_id=10008
--external_workflow=kitodo
--external_ISIL=DE-14
--external_value_descr="Gesetzlicher Auftrag"
--rights_version=1.0
--rights_xml=/metadata/rights/Fallbeispiel-01.xml
--add_meta_file=/metadata/lido.xml
--add_meta_file=/metadata/mods.xml
--add_key_value="Author:Lew Nikolajewitsch Tolstoi"
--add_key_value="Titel:Krieg und Frieden"
--add_key_value="Genre:Roman"
=head2 Replace (minimalistic)
-save_option=copy
-IE_directory=./export_dir_kitodo/bagit/test2
-SIP_output_path=./output_sips
-ppn=457035137
-SIP_version=v2020.1
-external_id=10008
-external_workflow=kitodo
-external_ISIL=DE-14
-external_value_descr="Gesetzlicher Auftrag"
-rights_version=1.0
-rights_xml=export_dir_kitodo/bagit/rights/Fallbeispiel-01.xml
-add_meta_file=./export_dir_kitodo/bagit/meta/lido.xml
-add_key_value="Title:Krieg und Frieden"
-add_key_value="Author:Lew Nikolajewitsch Tolstoi"
=head2 Replace
NOT RECOMMENDED! IF FAILS, "IE" MUST BE MANUAL RESTORED TO THE PREVIOUS STATE!!!
cp -a ./export_dir_kitodo/bagit/test2 ./ie_to_be_replaced
perl bin/slubsipbuilderbagit.pl
--save_option=replace
--IE_directory=/IE/SLUB_SIP_Builder/export_dir_kitodo/bagit/test2
--ppn=457035137
--SIP_version=v2020.1
--external_id=10008
--external_workflow=kitodo
--external_ISIL=DE-14
--external_value_descr="Gesetzlicher Auftrag"
--rights_version=1.0
--rights_xml=/metadata/rights/Fallbeispiel-01.xml
=head2 Move (minimalistic)
-save_option=replace
-IE_directory=./ie_to_be_replaced
-ppn=457035137
-SIP_version=v2020.1
-external_id=10008
-external_workflow=kitodo
-external_ISIL=DE-14
-external_value_descr="Gesetzlicher Auftrag"
-rights_version=1.0
-rights_xml=./export_dir_kitodo/bagit/rights/Fallbeispiel-01.xml
-add_meta_file=./export_dir_kitodo/bagit/meta/lido.xml
-add_key_value="Title:Krieg und Frieden"
-add_key_value="Author:Lew Nikolajewitsch Tolstoi"
=head2 Move
NOT RECOMMENDED! IF FAILS, "IE" MUST BE MANUAL RESTORED TO THE PREVIOUS STATE!!!
perl bin/slubsipbuilderbagit.pl
--save_option=move
--IE_directory=/IE/git/SLUB_SIP_Builder/export_dir_kitodo/bagit/test2
--SIP_output_path=/output_sips
--ppn=457035137
--SIP_version=v2020.1
--external_id=10008
--external_workflow=kitodo
--external_ISIL=DE-14
--external_value_descr="Gesetzlicher Auftrag"
--rights_version=1.0
--rights_xml=/metadata/rights/Fallbeispiel-03.xml
cp -a ./export_dir_kitodo/bagit/test2 ./ie_to_be_moved
perl bin/slubsipbuilderbagit.pl
-save_option=move
-IE_directory=./ie_to_be_moved
--SIP_output_path=./output_sips
-ppn=457035137
-SIP_version=v2020.1
-external_id=10008
-external_workflow=kitodo
-external_ISIL=DE-14
-external_value_descr="Gesetzlicher Auftrag"
-rights_version=1.0
-rights_xml=./export_dir_kitodo/bagit/rights/Fallbeispiel-01.xml
-add_meta_file=./export_dir_kitodo/bagit/meta/lido.xml
-add_key_value="Title:Krieg und Frieden"
-add_key_value="Author:Lew Nikolajewitsch Tolstoi"
=head1 OPTIONS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment