Re: find doe not take -exec or -ok parameter
On Sat, Apr 06, 2002 at 01:47:40PM +0200, Marcel Weber wrote:
> Okay let me see. I typed this one
>
> find /daten -size 0 -exec rm {};
>
> Then it was the missing backslash?
Yes, a ; on its own is interpreted by the shell and so not passed to
find. You may sometimes need to quote or backslash-escape the {} as
well, depending on the shell.
--
Colin Watson [cjwatson@flatline.org.uk]
--
To UNSUBSCRIBE, email to debian-testing-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: