I was trying to do that but I noticed ls | grep searchterm just searches the book TITLES for searchterm. Is this possible, to search the text of ebooks?

@skaarl@feddit.nl
creator
link
fedilink
33M

This looks pretty cool, thanks!

Glad to help!

@skaarl@feddit.nl
creator
link
fedilink
23M

This tool is very powerful! Just what I needed, thanks again. Turns out you need pandoc 3+ and linux mint repo has 2.9, so after upgrading that rga started working, but it still throws this error from time to time:


parseSpine
Error: copying adapter output to stdout

Caused by:
    0: subprocess: Command { std: "pandoc" "--from=epub" "--to=plain" "--wrap=none" "--markdown-headings=atx", kill_on_drop: false }
    1: ExitStatus(unix_wait_status(16384))

I will have to keep looking into it, I’m not sure if this error stops the search in it’s tracks.

Create a post
  • 0 users online
  • 1 user / day
  • 2 users / week
  • 3 users / month
  • 9 users / 6 months
  • 1 subscriber
  • 58 Posts
  • 382 Comments
  • Modlog