[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eshell: find: missing argument to `-exec' ?
From: |
Eli Zaretskii |
Subject: |
Re: eshell: find: missing argument to `-exec' ? |
Date: |
Fri, 11 Sep 2009 17:57:28 +0300 |
> From: pjb@informatimago.com (Pascal J. Bourguignon)
> Date: Fri, 11 Sep 2009 14:43:53 +0200
>
> > At a guess, you need to quote the {}, like this:
> >
> > find -name "*el" -exec rm \{} \;
>
> find gives this error when it doesn't see the ';' argument.
> I know of no shell where {} needs to be escaped or quoted.
>
> eshell seems to have difficulties with backslash escapes on
> MS-Windows. Then we could use quotes instead:
>
> find -name "*el" -exec rm {} ';'
The {} needs to be quoted as well.
Message not available