abc batch export


abc batch export

When exporting multiple abc tunes to individual pdf files, the filename gets pre-filled. However, you have to press Save to accept the filename for every file exported. I have an abc file with over a thousand tunes in it and I want to automatically approve all of the filenames so I don’t have to press Save over a thousand times.

The process also automatically loads the pdf into my default pdf viewer. I don’t want that to happen either.

Any way to make this export transparent and silent?

Re: abc batch export

I forgot to mention; I’m using EasyABC.

Re: abc batch export

How are you even doing this (exporting multiple tunes to individual files) in EasyABC?

In the version I’m running, I can either export a single tune or all the tunes in the file to one big PDF file containing all the tunes.

I am using EasyABC version 1.3.5 on Windows.

Re: abc batch export

Walt , you didn’t mention whether you’re Windows, Mac or Linux. What follows applies specifically to the Mac.
EasyABC 1.3.7.7 allows for exportation of all of the tunes as separate pdf’s. I don’t normally use 1.3.7.7 as I prefer 1.3.5 (Luddite that I am). I did export a couple of tunes in 1.3.7.7 as separate pdf’s and the application (on my Macintrash at least) did not require a separate <return> for each file - they just exported separately and that was that. If two tunes had the same name, a modification was automatically made to the filename to make it unique. I would hazard a guess that if the intent is to approve of all of the filenames the process would entail making certain that the tune names are what are desired BEFORE exporting. Since EasyABC is going to automatically open the individual pdfs - which is a real pain for a large quantity of files, I would say break down the tune book into individual sections of perhaps 50 or 100 tunes, export them and then just kill the pdf viewer when they’ve all been displayed and then repeat the process. Since I don’t use the latest version of EasyABC and I had a lot of tunes to export as separate pdf’s in the past, I wrote a unix shell script to do that task, so it is possible to bypass the EasyABC process but you have to be somewhat of a unix twidget to do so.

Re: abc batch export

I’m using Windows 10.

In the “Tune list” section of a file that has many tunes in it, you can select multiple files just like you can in the File Explorer. Then you can either right click on the list, or select from the File menu.

Re: abc batch export

Ok, this must be a feature in a later version of EasyABC than what I’m using.

Re: abc batch export

I’m using 1.3.7.8 2020-10-10, Windows 10.