On Mon, Mar 16, 2009 at 15:29:50 +0100, Sjoerd Hardeman 
(sjo...@lorentz.leidenuniv.nl) wrote: 

> Sjoerd Hardeman wrote:
>> What about
>>  find . -name *.odt -exec unzip -c {} content.xml | grep "what you want 
>> to find"\; -print
> This one is not working, use
>  find . -name *.odt -exec sh -c 'unzip -c {} content.xml | grep "what
>  you want to find"' \; -print

Ingenious - but I think the *.odt needs to be within quotation marks for
this to work, (i.e. '*.odt'). 

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Please reply to the list only.  Do NOT send copies directly to me.
Debian on the NSLU2: http://bobcox.com/slug/


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to