Originally Posted by saavik
We have here a SLES serving our user files.
We have lots of zipped Directorys and are in need of a good searching tool which must be able to find stings in Word-,Exceldocuments, Zipped and rar-Archives and OpenOffice documentes.
Does anybody know a Software which can help?
Barring the zip files
Beagle and KAT can index contents of files
this is a very simple solution
alias seek='unzip $1 -C *.doc *.cvs *.odt&&cat *.doc *.cvs *.odt| grep -l -R -i $2'
seek zipfile whatyouwanttofind
unzip $1 -C *.doc *.cvs *.odt; cat *.doc *.cvs *.odt
this only extracts the files that end with *.doc *.cvs *.odt
ignores the rest
cat *.doc *.cvs *.odt
cat reads the and | sends then to grep to find the lines you want $2=whatyouwanttofind.
If you've run you'll see it is far from a complete solution but is a start.
if you know anything about script you can improve this simple solution.