---
layout: feed_post
title: "Full-text search PDFs from Linux CLI"
slug: 5fd029e89d55604a939f9b2c
date: 2020-12-09 11:00:00
tags: feed
permalink: /feed/2020-12-09-full-text-search-pdfs-from-linux-cli/
feedtags:
  - Code Snippet
---
<p>
    For an open-note exam, I wanted a quick way to full-text search PDFs from the command-line.
</p>
<p>
    I wrote a 2-line script to help with that, using just find, grep, and pdftotext (common to most distros).
</p>
<p>
    Get it <a target="_blank" href="https://garrettmills.dev/snippet/pdfsearch">here</a>.
</p>