cp input
add svg from pdf

$ inkscape -l out.svg in.pdf
try making dxf as intermediate to shp
$ inkscape -l out.dxf out.svg