this post was submitted on 18 Mar 2022
3 points (100.0% liked)

Command Line

1316 readers
2 users here now

This is for anything regarding the command line, in any operating system. All questions (including dumb ones), tips, and interesting programs/console applications you've found or made yourself are welcome. Linux / BSD / macOS / Windows CLI apps, questions or comments, we're happy to take them all!

founded 4 years ago
MODERATORS
 

Thought I'd mention pdftxt. It translates pdf files to text using libmupdf. Haven't found anything more lightweight to do the same job. Would be curious if others have. There are some other interesting framebuffer and command line programs at the same site too.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Ordoviz@lemmy.ml 3 points 2 years ago (1 children)

pdftotext is the standard tool to convert PDFs to text. Not sure how lightweight it is but it's provided by Poppler, together with other amazing utilities such as pdfunite.

[โ€“] lmemsm@lemmy.ml 2 points 2 years ago

I've tried pdftotext and a few others. So far, my favorite is the pdftxt program I've mentioned.