Jobset. Creating output folders

I want to create output folders for files generated by jobset, for example
${PROJECTNAME}./GERBER/
${PROJECTNAME}./3D/
${PROJECTNAME}./PDF/, etc.
Is there any way to create output folders in the project folder using jobset? There is “Special: Execute Command” option in jobset, but I can’t find the command syntax for creating folders anywhere in the documentation.

it should be possible creating multiple ‘Destinations’:

I would like to automatically create a set of output folders using some kind of script and make it, for example, the first jobset task in each project.

Sure, you can realize all of these by just setting each output job. there is either a output folder or output file option for each job. This picture show the project structure after running the jobset.

And here is the jobset file. You may need to edit the bom job as there are some custom fields.
gerber.kicad_jobset (7.4 KB)

After generating all of these output file, another script is used to zip all these result.

BTW, the jobset file is put in some parent folder, so that a lot of pcb projects can share one jobset file, in case you wonder why it is not shown in the picture.

3 Likes

Thanks a lot, it works.