do you have any programs called "echo ./daemon.2.gz"?

you want -exec echo "{}" \;

On Thu, Jan 22, 2009 at 12:54 PM, Morris, Roy
<[email protected]> wrote:
> I know this is more of a general 'huh' kind of thing, but I figured someone
> could kick start my brain for me. Anyone know why this doesn't work? It
> appears to find the files ok but the -exec part thinks it can't?
>
>
> spider:/var/log# find . -name "daemon.*.gz" -exec "echo {}" \;
> find: echo ./daemon.2.gz: No such file or directory
> find: echo ./daemon.1.gz: No such file or directory
> find: echo ./daemon.5.gz: No such file or directory
> find: echo ./daemon.4.gz: No such file or directory
> find: echo ./daemon.3.gz: No such file or directory
> find: echo ./daemon.0.gz: No such file or directory
>
>



-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?

Reply via email to