Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tools for technical analysts
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
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
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
tools for technical analysts
Commits
fde5e9f4
Commit
fde5e9f4
authored
1 year ago
by
Andreas Romeyke
Browse files
Options
Downloads
Patches
Plain Diff
- minor fix in description
- removed outdated args
parent
93d1c57f
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
lib/SLUB/LZA/TA/Command/count.pm
+6
-17
6 additions, 17 deletions
lib/SLUB/LZA/TA/Command/count.pm
with
6 additions
and
17 deletions
lib/SLUB/LZA/TA/Command/count.pm
+
6
−
17
View file @
fde5e9f4
...
@@ -20,15 +20,13 @@ and return count of matches.
...
@@ -20,15 +20,13 @@ and return count of matches.
Examples:
Examples:
* Is this dc identifier in archive?
* Is this dc identifier in archive?
$0 count -d SLUB:LZA:Kitodo:kitodo:422766
'
$0 count -d SLUB:LZA:Kitodo:kitodo:422766
'
* How many AIPs were modified in 2021-05-31?
* How many AIPs were modified in 2021-05-31?
$0 count -m 2021-05-31
'
$0 count -m 2021-05-31
'
* How many AIPs have at least one invalid file?
* How many AIPs have at least one invalid file?
$0 count --with-invalid-files
'
$0 count --with-invalid-files
'
* How many AIPs with mkv-files are in archive?
* How many AIPs with mkv-files are in archive?
$0 count --with-format=fmt/569
'$0 count --with-format=fmt/569'
* How many AIPs have at least one file without virus check?
$0 count --with-missed-viruscheck
DESCR
DESCR
sub
description
{
sub
description
{
...
@@ -43,23 +41,14 @@ sub opt_spec {
...
@@ -43,23 +41,14 @@ sub opt_spec {
["
creationdate|c=s
"
=>
"
search based on creationdate string
"],
["
creationdate|c=s
"
=>
"
search based on creationdate string
"],
["
modificationdate|m=s
"
=>
"
search based on modificationdate string
"]
["
modificationdate|m=s
"
=>
"
search based on modificationdate string
"]
]
}
],
]
}
],
[
"
lzaid|l=s
",
"
count AIPs by given LZA id
"],
["
lzaid|l=s
",
"
count AIPs by given LZA id
"],
["
descriptive|d=s
"
=>
"
count based on string search in descriptive metadata
"],
["
descriptive|d=s
"
=>
"
count based on string search in descriptive metadata
"],
["
source|s=s
"
=>
"
count based on string search in source metadata
"],
["
source|s=s
"
=>
"
count based on string search in source metadata
"],
["
aip|a=s
"
=>
"
count AIPs by given AIP id
"],
["
aip|a=s
"
=>
"
count AIPs by given AIP id
"],
["
format
"
=>
hidden
=>
{
one_of
=>
[
["
format
"
=>
hidden
=>
{
one_of
=>
[
["
with-format
=s
"
=>
"
with pronom format id
"],
["
pronom-id
=s
"
=>
"
with pronom format id
"],
#["without-format=s" => "without pronom format id"],
#["without-format=s" => "without pronom format id"],
]
}
],
]
}
],
["
validation
"
=>
hidden
=>
{
one_of
=>
[
["
with-valid-files
"
=>
"
with valid files
"],
["
with-invalid-files
"
=>
"
with at least one invalid file
"],
]
}
],
["
viruscheck
"
=>
hidden
=>
{
one_of
=>
[
["
with-passed-viruschecks
"
=>
"
with passed virus checks
"],
["
with-missed-viruschecks
"
=>
"
with missed virus checks
"],
["
with-failed-viruschecks
"
=>
"
with failed virus checks
"],
]}],
);
);
}
}
sub
validate_args
{
sub
validate_args
{
...
...
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