1条评论

  1. Poppler(或称为 libpoppler)是一个用来渲染 PDF 文档的自由程序库
    https://zh.wikipedia.org/wiki/Poppler
    `
    brew install poppler

    # pdftotext 工具,它是 Poppler 包的一部分
    pdftotext input.pdf output.txt
    pdftotext input.pdf – | grep ‘example’

    # pdfgrep 是一个专门用于搜索 PDF 文件中特定字符串的命令行工具
    brew install pdfgrep
    pdfgrep ‘example’ input.pdf
    `

发表评论

您的邮箱地址不会被公开。 必填项已用 * 标注