Skip to content
Snippets Groups Projects
Commit 40b1f6c4 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- adapted to Archivematica

parent e87a6d42
No related branches found
No related tags found
No related merge requests found
...@@ -10,27 +10,41 @@ Alternatively, copy the 'bin/' and 'lib' paths to your local perl installation. ...@@ -10,27 +10,41 @@ Alternatively, copy the 'bin/' and 'lib' paths to your local perl installation.
## Usage ## Usage
ta-tool <command> [options] ta-tool.pl <command> [-?h] [long options...]
--help (or -h) show help
aka -?
OPTIONS: Available commands:
-v --verbose Show more detailed option
-h --help Prints this help information
--debug Show user agent debug information
COMMAND: commands: list the application's commands
init Initialize config help: display a command's help screen
log parses / searches AIS server log files very fast
search searches AIS for typical patterns (IE, SIP...)
count counts AIS matches of typical patterns (IE, SIP...)
at the moment only the commands `log`, `search` and `count` supported, but will count: count AIPs in Archival Information System (AIS)
init: Initalize ./ta-tool.pl
search: searches Archival Information System (AIS)
at the moment only the commands `search` and `count` supported, but will
be extended in near future. be extended in near future.
## First use ## First use
ta-tool init -r $HOST -l $LOGDIR ta-tool init -e $ELASTICSEARCHHOST
this stores the archivematica elasticsearch host in local .config/ta-tool.rc
## Synopsis
Search given lzaid (SLUBArchiv related ID)
ta-tool.pl search --lzaid SLUB:LZA:testworkflow:testcases:test-sip_2023-01-01-11_11-11_11111
Search for all AIPs with files of Pronom ID fmt/101, report it as CSV with columns lzaid, size, filecount and score
ta-tool.pl search --pronom-id fmt/101 --with-lzaid --with-size --with-filecount --with-score --output-as-csv
Count all AIPs with descriptive Metadata string "kitodo:422"
this stores the archivematica elasticsearch host and log dir in local .config/ta-tool.rc ta-tool.pl count -d kitodo:422
## Problems ## Problems
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment