识别带有书签的PDF文件[已关闭]

问题描述 投票:0回答:1

我的目录中有一批pdf文件(其中大部分是论文)。其中一些在 pdf 中带有书签,可以帮助我轻松跳转到主题。现在,我想为其余的添加书签。

简而言之,问题是如何使用shell或grep识别带有书签的pdf文件?

bash shell grep pdftk
1个回答
1
投票

您可能只需要一个迭代目录中文件的简单脚本

for f in /Your/Directory/Path/*.pdf; 
do cpdf -list-bookmarks $f; 
done
© www.soinside.com 2019 - 2024. All rights reserved.