gnetlist -g switcap -o test.scn file1.sch [file2.sch ...]
For the example file contained in this archive, you can run:
gnetlist -g switcap -o example.scn ckt.sch \
clocks.sch analysis.sch
The netlist will be left in example.scn.