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?

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.

@skaarl@feddit.nl
creator
link
fedilink
23M

Thanks!

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