This topic created in 5431 days ago, the information mentioned may be changed or developed.
说明
1. 由于中间文件比较多,需要cd到一个空目录再执行下面的命令。
2. pdftk需要自行安装。
$ curl 'http://pdf.news365.com.cn/xmpdf/default.asp' | egrep -o '[0-9]+/XM[A-Z0-9]+.pdf' | sed 's!^\(.*\)$!http://pdf.news365.com.cn/xmpdf/\1!' | xargs curl --remote-name-all
$ pdftk * cat output XM.pdf
1 replies • 1970-01-01 08:00:00 +08:00
 |
|
1
dexter Jun 17, 2011
命令行的生活要大力推广
|