From: Ben Bacarisse on
Rikishi42 <skunkworks(a)rikishi42.net> writes:

> On 2010-02-09, WH <whzhao(a)gmail.com> wrote:
>>
>>
>>> boxman user1> find . -mtime -10 -exec ls {}\;
>>> find: missing argument to `-exec'
>>
>> find . -mtime -10 -exec ls \{} \;
>>
>> or
>>
>> find . -mtime -10 -exec ls '{}' \;
>>
>> works
>
> and
>
> find . -mtime -10 -exec ls '{}' ';'
>
> But, as allready stated, the -exec is redundant

Just so the OP is clear, the -exec is redundant in the sense that the
command without it is probably what the OP wants. The two commands
(with and without the -exec) produce, in general, very different
output.

--
Ben.