MARCEDIT-L Archives

November 2021

MARCEDIT-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ruth Tillman <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Thu, 18 Nov 2021 11:50:29 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
Morning, folks. I'm trying to join a heckton of single MARC records in the terminal (Windows 10).

In theory, scripting this isn't hard... 

%MARCEDIT%\cmarcedit.exe -join -s "4.mrc;5.mrc;141.mrc" -d "..\test_join.mrc"

et voila.

But when you have that many filenames, it's throwing the error "The input line is too long."

So I wanted to make it into a bash-type file, however I'm running into issues trying to make it into a bash-type file... probably because I'm using a .exe in it? I can easily run .sh files in Git Bash, but the environment variable/.exe seems to be acting funny. So then I tried writing it into a .bat or something, but then I got "The input line is too long. The syntax of the command is incorrect."

Anyone done something like this? Suggestions?

I have a file of all the filenames, semicolon-separated, so if there's a good way to cat it or something, I could do that as well.

Thanks,
Ruth

________________________________________________________________________

This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit.  If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]

ATOM RSS1 RSS2