Prev: pine copy emails back to the server...
Next: korn shell negation operator not working as expected
From: Ben Bacarisse on 9 Feb 2010 17:36 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.
First
|
Prev
|
Pages: 1 2 Prev: pine copy emails back to the server... Next: korn shell negation operator not working as expected |