13
submitted 1 week ago by skaarl@feddit.nl to c/linux@sopuli.xyz

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?

you are viewing a single comment's thread
view the rest of the comments
[-] thagoat@lemmy.sdf.org 8 points 1 week ago
[-] skaarl@feddit.nl 3 points 1 week ago

This looks pretty cool, thanks!

[-] thagoat@lemmy.sdf.org 2 points 1 week ago
[-] skaarl@feddit.nl 2 points 1 week ago

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.

load more comments (1 replies)
this post was submitted on 12 Feb 2025
13 points (100.0% liked)

Linux

2181 readers
2 users here now

founded 2 years ago
MODERATORS