Skip to content

Instantly share code, notes, and snippets.

@rsinger
Created August 29, 2012 20:58
Show Gist options
  • Save rsinger/3518852 to your computer and use it in GitHub Desktop.
Save rsinger/3518852 to your computer and use it in GitHub Desktop.
for f in *.dat ; do echo "Processing $f" ; yaz-marcdump -f MARC-8 -t UTF-8 -o marc -l 9=97 $f > ../loc_utf8_records/$f ; cd ../loc_utf8_records ; gzip $f ; cd ../loc_records ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment