Skip to content

Releases: MatthiasEbner2002/pdf_search

Add option to print lines

07 Feb 17:59
81d52d6
Compare
Choose a tag to compare

Adds the option -l, to print all the lines with an occurrence.

pdfs bias

CG_6_Effects_1.pdf: 11(x2)
CV_4_Lecture.pdf: 28
Total occurences: 3
Open CG_6_Effects_1.pdf(11)? ([Enter]y/n): 
pdfs bias -l

CG_6_Effects_1.pdf - 11: ▪ remedy: add depth bias in shadow map d (x l ) + bias  z l
CV_4_Lecture.pdf - 28: – bias and gain normalization (mops)
Total occurences: 2
Open CG_6_Effects_1.pdf(11)? ([Enter]y/n): 

pdfs search with options

03 Feb 13:00
56cc361
Compare
Choose a tag to compare

New:

  • Added case sensitivity option -s
  • added recursive option -r
  • updated README.md
  • add comments

Example:

Search for "example" in all PDF files in the current directory and subdirectories, with case sensitivity:

pdf_search example -s -r

First release

30 Jun 20:54
Compare
Choose a tag to compare

After following the instructions, you can search for a string in all PDFs in the folder the command is executed.

  • pdfs skolem
  • "pdfs "natural deduction"

The search is not case-sensitive, so "pdfs skolem" is the same as "pdfs SkOlEm". After that, it tries to open the PDF, with the most found matches, on the page with the first match. At the moment, Okular is used to open the PDF.