1 |
Neil Bothwick <neil@××××××××××.uk> wrote: |
2 |
|
3 |
> xargs can suck with anything but plain ASCII-without-spaces filenames., |
4 |
> and it quite unnecessary here. |
5 |
> |
6 |
> find -name *.ext -exe rm "{}" \; |
7 |
> |
8 |
> or maybe even |
9 |
> |
10 |
> find -name *.ext -exe rm "{}" + |
11 |
|
12 |
Just avoid xargs as it is the source of the proplem. |
13 |
|
14 |
find -name *.ext -exec some-command "{}" + |
15 |
|
16 |
Is the preferred method since 1990. |
17 |
|
18 |
Jörg |
19 |
|
20 |
-- |
21 |
EMail:joerg@××××××××××××××××××××××××.de (home) Jörg Schilling D-13353 Berlin |
22 |
js@××××××××××××.de (uni) |
23 |
joerg.schilling@××××××××××××××××.de (work) Blog: http://schily.blogspot.com/ |
24 |
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily |