View Single Post
Old 07-12-2020, 12:49 PM   #3
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,806
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by JSWolf View Post
Sorry, there is no way to check for DRM on PDF in batches. You have to do it one by one.
Of course there is a way.

In a bash terminal in linux with pdftk installed:
Code:
for file in *.pdf
  do pdftk $file dump_data > /dev/null 2>> encrypted_list.txt
done
The file encrypted_list.txt will contain a list of encrypted files (and any other errors that turn up).

Last edited by j.p.s; 07-12-2020 at 01:28 PM.
j.p.s is offline   Reply With Quote