gnetlist -g switcap -o test.scn file1.sch [file2.sch ...]
gnetlist -g switcap -o example.scn ckt.sch \ clocks.sch analysis.sch
The netlist will be left in example.scn.