Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I have a problem with KFind application from KDE. I am trying to seek for all " *.pdf " files in the folder containing a given keyword, but somewhy ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    73

    How to seek for keywords in pdf files


    Hello,
    I have a problem with KFind application from KDE.
    I am trying to seek for all " *.pdf " files in the folder containing a given keyword, but somewhy I can't. I tried to check "Include binary files", but somewhy this solves the problem only partially (some files are found whereas others aren't). On the other hand, I checked manually that (1) There are files which contain the keyword (2) All the files contain text (not "text as image") (3) Both Acroread and KPDF are able to look for the keyword when any of the files is open.

    How is it possible to make the search ?
    Thanks in advance,
    Xaleandr

  2. #2
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Posts
    624
    Since pdf stores the data in it as a pixel map (think in terms of images) you cannot use default UNIX commands such as find or grep to search for regular expressions in it. Any program that aims to do so must include a call to open that file and parse the pixmap data as ASCII chars. KPDF, Acroread and evince etc... do precisely this and so do all applications like Windows Desktop Search/Google Desktop (for MS Windows).
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •