I've been threatening for ages to implement a "use a script" feature, so that you don't spec everything on the command-line, but rather a YAML file or something. Something like: gerber2pdf -script myscript.yml That way you eliminate the command-line limitation. Maybe the time has arrived...
What is the error? My suspicion is that it is a command-line command length limit of whatever shell you're using. I "think" Windows CMD has a limit of 8191 characters or something, but it varies depending on exactly what version of Windows and / or shell (CMD vs PowerShell, for example) you're using. Browsing through the source code: The number of commands on the command-line (limited by Gerber2PDF, not the shell) is 4096 commands. You should be able to pass in more than a 1000 files without issues,...
New version is ready for you to download... The command-line option you want is the "-name_is_filename" option
Added the "-name_is_filename" command-line option
Changed indentation from 2 to 4 spaces
Changed indentation from 2 to 4 spaces
I'm sure that I can add a command-line switch for that one quite easily... I'll see what I can come up with over the weekend...
Fixed the Pascal to Atmosphere conversion