1 |
On Wed, 2010-11-17 at 14:13 +0100, Sebastian Beßler wrote: |
2 |
> Am 17.11.2010 13:54, schrieb Albert Hopkins: |
3 |
> > On Wed, 2010-11-17 at 13:52 +0100, Sebastian Beßler wrote: |
4 |
> >> Am 17.11.2010 10:19, schrieb Joerg Schilling: |
5 |
> >> |
6 |
> >>> This is why find -exec + exists since 20 years. |
7 |
> >> |
8 |
> >> Could you enlighten me about this? |
9 |
> >> I look into man find but it says nothing about -exec + or a + operator |
10 |
> >> at all. Also adding + to the command doesn't work either. |
11 |
> >> |
12 |
> > |
13 |
> > Which man page are you looking at? It's in my find man page at least. |
14 |
> > |
15 |
> > |
16 |
> |
17 |
> man find |
18 |
> |
19 |
> Aktionen |
20 |
> -exec Kommando; |
21 |
> führt das Kommando aus; die Aktion ist wahr, wenn das Kommando einen |
22 |
> Status von Null liefert; alle auf den Kommandonamen folgenden |
23 |
> Argumente bis zu einem Semikolon ; werden als Kommandozeilenargumente |
24 |
> für das Kommando interpretiert; das Semikolon kann nicht weggelassen |
25 |
> werden, und es muss durch mindestens ein Whitespace von der letzten |
26 |
> Option getrennt werden; die Konstruktion {} wird durch den Pfadnamen |
27 |
> der Datei ersetzt; die Klammern und das Semikolon müssen in der |
28 |
> Kommandozeile für find quotiert werden, damit sie nicht von der Shell |
29 |
> bearbeitet werden |
30 |
> |
31 |
> There is only one -exec option explained, no + to see. |
32 |
> The only option with a + in my manpage is -perm +Modus |
33 |
> |
34 |
> No I have not tried the english version, I thought that a option that |
35 |
> exists for 20 years should be in translated manpages too. |
36 |
|
37 |
I'm not sure where that man page came from. Says it conforms to 2003 |
38 |
POSIX. So is at least 10 years more recent than yours. |
39 |
|
40 |
|
41 |
|
42 |
http://linux.die.net/man/1/find |