1 |
On Tuesday 9 June 2009, 16:52, Neil Bothwick wrote: |
2 |
> On Tue, 9 Jun 2009 09:42:34 -0500, Paul Hartman wrote: |
3 |
> > -exec command {} + |
4 |
> > This variant of the -exec action runs the specified command on the |
5 |
> > selected files, but the command line is built by appending each |
6 |
> > selected file name at the end; the total number of invocations of |
7 |
> > the command will be much less than the number of matched files. The |
8 |
> > command line is built in much the same way that xargs builds its |
9 |
> > command lines. Only one instance of `{}' is allowed within the |
10 |
> > command. The command is executed in the starting directory. |
11 |
> |
12 |
> How does this handle quoted filenames? |
13 |
> |
14 |
> Does -exec command "{}" + |
15 |
> |
16 |
> do |
17 |
> |
18 |
> command "file 1 file 2 file 3" |
19 |
> |
20 |
> or |
21 |
> |
22 |
> command "file 1" "file 2" "file 3" |
23 |
|
24 |
The latter. |