Created
January 29, 2019 21:19
-
-
Save pgwillia/fbd0dbd88091970432210f5ca7d92579 to your computer and use it in GitHub Desktop.
Edit MARC files
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
# if you start with a file of MARC records, you can convert them to a text file using yaz-marcdump | |
yaz-marcdump records.mrc > records.txt | |
# To edit the records on the command line, you can use vim (or whatever your favorite text editor is). | |
# When you’re done, to convert them back to MARC, use | |
yaz-marcdump -i line -o marc records.txt > edited-records.mrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment