Skip to content

Instantly share code, notes, and snippets.

@tingletech
Created May 19, 2015 20:15
Show Gist options
  • Save tingletech/06e81e93cc2aea8e58e1 to your computer and use it in GitHub Desktop.
Save tingletech/06e81e93cc2aea8e58e1 to your computer and use it in GitHub Desktop.
scripts to harvest a collection out of Merritt
#!/bin/env bash
set -eu
for i in $(seq 1 40)
do
curl -u $MERRITT "https://merritt.cdlib.org/object/recent.atom?collection=ark:/13030/m5xk8jh0&page=$i" > atom$i.xml
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment