Created
September 23, 2016 14:53
-
-
Save philippgeisler/84c29c7237216a6aea84efee67ac9242 to your computer and use it in GitHub Desktop.
example for use of xmlstarlet with MEDS/MODS metadata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -f ./*/*.xml | xargs -I {} xml sel -T -t -m "//mets:structMap/mets:div[@ADMID='AMD']" -v "@LABEL" -n {} | sort | uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment