https://bugs.documentfoundation.org/show_bug.cgi?id=91743
--- Comment #6 from David Hedlund <[email protected]> ---
https://askubuntu.com/questions/938834/grep-for-text-in-odt-or-doc-files/938914#938914
lists a script for fulltext search for _all_ LibreOffice (OD* files) documents
in a folder.
#!/bin/bash
find . -type f -name "*.od*" | while read i ; do
[ "$1" ] || { echo "You forgot search string!" ; exit 1 ; }
unzip -ca "$i" 2>/dev/null | grep -iq "$*"
if [ $? -eq 0 ] ; then
echo "string found in $i" | nl
fi
done
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs