当打开AWS为linux中的SOC-2兼容而生成的PDF时,evince显示了以下错误:

遗憾的是,Linux没有说明,在这个系统中也不支持Adobe。
有可能看到里面是什么吗?
发布于 2022-05-05 15:58:52
看起来他们使用PDF作为ZIP文件。因此,第一步是用pdfdetach展示PDF中的内容,以及可以在ubuntu (apt install poppler-utils)中安装的poppler-utils包。
因此,如果我们的文件名为Service_Organization_Controls_(SOC)_2_Report_-_Current.pdf,您可以这样做:
pdfdetach 'Service_Organization_Controls_(SOC)_2_Report_-_Current.pdf' -list这将列出内部内容,如下所示:
$ pdfdetach 'Service_Organization_Controls_(SOC)_2_Report_-_Current.pdf' -list
2 embedded files
1: Service Organization Controls (SOC) 2 Report - Current/AWS SOC 2 Report Apr-Sept 2020 - FINAL.pdf
2: Service Organization Controls (SOC) 2 Report - Current/SOC2 Excel Provided by AWS Apr-Sept 2020.pdf因此,我们可以提取第一个文档,但是pdfdetach无法工作,因为目录不存在,因此需要手动创建它:
mkdir Service Organization Controls (SOC) 2 Report - Current
pdfdetach 'Service_Organization_Controls_(SOC)_2_Report_-_Current.pdf' -saveall现在您可以像往常一样打开Service Organization Controls (SOC) 2 Report - Current/AWS SOC 2 Report Apr-Sept 2020 - FINAL.pdf,但是Service Organization Controls (SOC) 2 Report - Current/SOC2 Excel Provided by AWS Apr-Sept 2020.pdf只是一个容器:
pdfdetach "Service Organization Controls (SOC) 2 Report - Current/SOC2 Excel Provided by AWS Apr-Sept 2020.pdf" -list 因此,您需要提取真正的excel文件,但这次它没有空格:
pdfdetach "Service Organization Controls (SOC) 2 Report - Current/SOC2 Excel Provided by AWS Apr-Sept 2020.pdf" -saveall你也会得到excel文件。
https://stackoverflow.com/questions/72130243
复制相似问题