Skip to content
Snippets Groups Projects
Andreas Romeyke's avatar
Andreas Romeyke authored
c7f54183
History

ta-tool - the swiss knife for the technical analyst working with Archival Information systems

Installation

You could use Distzilla to install the tool locally. See command 'dist' for details.

Alternatively, copy the 'bin/' and 'lib' paths to your local perl installation.

Usage

ta-tool.pl <command> [-?h] [long options...]
  --help (or -h)  show help
                  aka -?

Available commands:

commands: list the application's commands
help: display a command's help screen

 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.

First use

ta-tool init -e $ELASTICSEARCHHOST

this stores the archivematica elasticsearch host in local .config/ta-tool.rc

Synopsis

Search given lzaid (SLUBArchiv related ID), returns matching AIP ids (aipid, default)

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 aipid (default), 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"

ta-tool.pl count -d kitodo:422

Problems

None found yet.