Skip to content
Snippets Groups Projects
Commit eafae9db authored by Donatus Herre's avatar Donatus Herre
Browse files

utils/retrieve updated (hpb)

parent 38333648
Branches
No related tags found
No related merge requests found
#!/usr/bin/env bash
echo "start sru retrieval of library data!"
#
# HPB
echo ""
echo "start retrieving from hpb..."
# retrieve all publications indexed in HPB with Halle as publication place
catmandu convert hpb --query pica.plc=Halle to JSON --pretty 1 > data/hpb/pica-plc-halle/records.json
catmandu convert hpb --query pica.plc=Halle --total 1 to JSON --pretty 1 > data/hpb/pica-plc-halle/example.json
# retrieve all publications indexed in HPB with Halle as publication place (2)
catmandu convert hpb --query pica.pub=Halle to JSON --pretty 1 > data/hpb/pica-pub-halle/records.json
catmandu convert hpb --query pica.pub=Halle --total 1 to JSON --pretty 1 > data/hpb/pica-pub-halle/example.json
echo "done retrieving from hpb!"
#
# VD 17
echo ""
echo "start retrieving from vd17..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment