在Windows子系统上使用exiftool (WSL,Ubuntu),我可以打印exif数据:
# exiftool test.pdf
ExifTool Version Number : 10.80
File Name : test.pdf
Directory : .
File Size : 279 kB
File Modification Date/Time : 2020:04:28 23:00:41+02:00
File Access Date/Time : 2020:04:28 23:08:51+02:00
File Inode Change Date/Time : 2020:04:28 23:00:41+02:00
File Permissions : rwxrwxrwx
File Type : PDF
File Type Extension : pdf
MIME Type : application/pdf
PDF Version : 1.7
Linearized : No
Warning : Info object (11 0 obj) not found at 285226但是,我不能更改或删除它们,例如,下面的命令引发一个我不理解的错误。
# exiftool -all= test.pdf
Error: Info object (11 0 obj) not found at 285226 - test.pdf
0 image files updated
1 files weren't updated due to errors我不确定写权限,所以我复制(复制,从WSL)原始文件(Windows创建的),并将它重命名为test.pdf,但这并没有解决问题。
我发现了以下建议,但它们也没有解决这个问题:
https://unix.stackexchange.com/questions/647216
复制相似问题