Commands
The marc21 tool provides the following commands:
- concat — Concatenate records from multiple inputs (alias
cat) - count — Print the number of records in the input data (alias
cnt) - filter — Filter records that fulfill a specified condition
- hash — Compute SHA-256 checksum of records
- invalid — Output invalid records that cannot be decoded
- print — Print records in human readable format
- sample — Select a random permutation of records
- split — Split the input into chunks of a given size