Ok, I tried both and neither worked. Same error

doh!

-----Original Message-----
From: Nick Bender [mailto:[email protected]]
Sent: Friday, January 23, 2009 9:21 AM
To: Morris, Roy
Cc: [email protected]
Subject: Re: Find - Sillyness


On Fri, Jan 23, 2009 at 9:07 AM, Morris, Roy <[email protected]>
wrote:
> Here is the actual command I am trying to run and it's error
> output.
>
> spider:/var/logtransfer/dc-fw1# find . -name pflog.*.gz -exec zcat {} |
> tcpdump -entttv -r -  \;
> find: -exec: no terminating ";"
> tcpdump: fread: Invalid argument
>

Me thinks you need to quote you're pattern (or set noglob) and terminate
your exec (just like find is telling you):

   find . -name 'pflog.*.gz' -exec zcat {} \; | ...

-N

Reply via email to