Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SLUB_SIP_Builder
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
SLUB_SIP_Builder
Commits
ef65c1e1
Commit
ef65c1e1
authored
4 years ago
by
Jens Steidl
Browse files
Options
Downloads
Patches
Plain Diff
- updated examples: now working out-of-the-box
parent
a18b188f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/slubsipbuilderbagit.pl
+49
-57
49 additions, 57 deletions
bin/slubsipbuilderbagit.pl
with
49 additions
and
57 deletions
bin/slubsipbuilderbagit.pl
+
49
−
57
View file @
ef65c1e1
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment