2
4

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.

pdfの内容をtxt形式へ一括変換する(Linux)

Posted at

pdfのテキスト部分を抜き出す

フォルダ以下の .pdfファイルのテキスト部分を抜き出し、.pdf.txt というファイル名で保存する。

$ find -name '*.pdf' -print0 | xargs -0 -i pdftotext {} {}.txt

同じフォルダ内に、.pdf.txtというファイル名で、pdfをpdftotextを使って、txt形式に変換した物が保存される。

2
4
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
2
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?