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?

  • nesc@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago

    ls lists files, if you pipe it to grep it will print matching lines with file names. Universally you can’t grep through ebook content, but you can do it with epub, probably other zipped text formats using zipgrep or just unzipthem and grep unarchived files.