DOKK / manpages / debian 12 / pcb-rnd-core / fp2subc.1.en
fp2subc(1) pcb-rnd manual fp2subc(1)

fp2subc - convert any footprint into a pcb-rnd subcircuit

fp2subc [options] infile [outfile]

fp2subc executes pcb-rnd in batch mode to load a footprint (typically specified in an alien format) and save it as a native pcb-rnd subcircuit. The script is useful for mass-converting old footprint libraries.

If outfile is not specified, its name is guessed from infile

infile is not a path but a footprint name that should be searched in the library
same as --lib
run exepath for invoking pcb-rnd (default is "pcb-rnd", which depends on $PATH)
same as --pcb-rnd
insert exepath before pcb-rnd on the command line; useful for running the process e.g. in valgrind
same as --debugger
pass on a -c key=val CLI config setting to pcb-rnd; useful for setting up library paths
2018-04-08