View previous topic :: View next topic |
Author |
Message |
Fog_Watch Apprentice
Joined: 24 Jul 2006 Posts: 267 Location: Utility Muffin Research Kitchen
|
Posted: Wed Nov 17, 2010 4:26 am Post subject: Searching for OpenOffice.org .odt and other files |
|
|
Problem
Code: | $ ls *.odt
treasurer_15sep10.odt |
Doesn't find anything.
Solution
Obtain DocSearcher source.
Move the source into its own directory:
Code: | mv DocSearcher-src-3.92.0.zip docsearcher/ |
Code: | unzip DocSearcher-src-3.92.0.zip |
Code: | sudo cp -a dist /usr/non-portage/bin/docsearch |
Code: | sudo chown -R root:root /usr/non-portage/bin/docsearch |
Then create an executable that runs the DocSearch.jar
Code: | /usr/non-portage/bin $ ls -la docsearch.sh
-rwxr-xr-x 1 root root 76 Nov 17 15:15 docsearch.sh |
Code: | $ cat docsearch.sh
#!/bin/sh
cd /usr/non-portage/bin/docsearch && java -jar DocSearch.jar
|
And for icewm users this is added to /etc/icewm/menu:
Quote: | prog "Document search" /usr/non-portage/bin/docsearch/icons/ds.gif docsearch.sh |
189314 can then be searched for. |
|
Back to top |
|
|
anxt Apprentice
Joined: 25 Feb 2003 Posts: 254 Location: Frozen Tundra, Canada
|
Posted: Wed Dec 22, 2010 12:57 am Post subject: |
|
|
How did grep fail you? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|