0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

1フォルダの中のライフカードの明細PDFを一気にパスワード解除する

Posted at

前提条件

  • ファイル名lifecard_meisai_201905.pdfのような形である。
  • 1つのディレクトリ(フォルダ)に入っている。
  • パスワード解除したものは同一ディレクトリにnopass_lifecard_meisai_201905.pdfの形で保存されるでOK
  • qpdfがインストールされている。(brewなどで入れておく)

使い方

  • パスワードは<PASS>としてあるので書き換えて使う。
for FILENAME in lifecard_meisai_*.pdf;do
qpdf --decrypt --password=<PASS> $FILENAME nopass_${FILENAME}
done
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?