Find the answer to your Linux question:
Results 1 to 2 of 2
Greetings! I'm asking here because OpenOffice forums and groups are totally clueless! I'm using Linux Mint 13 with OOo 3.5 and I've been seeking high and low for an app ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2012
    Posts
    48

    Text-Searching Thru Multiple OpenOffice Writer Docs in Linux


    Greetings!

    I'm asking here because OpenOffice forums and groups are totally clueless! I'm using Linux Mint 13 with OOo 3.5 and I've been seeking high and low for an app that will text search thru OOo docs as I can on Macs via plug-ins. Linux User recommended "apps" as Loook.py and Docco don't function.

    Any help would be appreciated!

    Jim in NYC

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    I think OO files are compressed XML files, aren't they? So you could try something like this:


    Code:
    #!/bin/bash
    for file in *.odt; do
      unzip -ca "$file"|grep -q "search_string" && echo $file
    done

Posting Permissions

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