diff --git a/bin/slubsipbuilderbagit.pl b/bin/slubsipbuilderbagit.pl index 05238e08dfc362e2e1f8bde0d27476427ef15775..ca8a675ffa1177d3240c4a688b43017e79f6acca 100644 --- a/bin/slubsipbuilderbagit.pl +++ b/bin/slubsipbuilderbagit.pl @@ -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