„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
man xargs wrote: -I replace-str
Replace occurrences of replace-str in the initial-arguments with names read from standard input. Also, unquoted blanks do not terminate
input items; instead the separator is the newline character. Implies -x and -L 1.
--replace[=replace-str], -i[replace-str]
This option is a synonym for -Ireplace-str if replace-str is specified, and for -I{} otherwise. This option is deprecated; use -I instead.
-L max-lines
Use at most max-lines nonblank input lines per command line. Trailing blanks cause an input line to be logically continued on the next
input line. Implies -x.
Heißt das nicht das auch mit der obigen xargs Version für jede Datei ein cp gestartet wird und xargs in dem Fall genauso langsam wie find -exec ist?
Alternativ kannst Du auch an den Kernel-Sourcen rumfummeln, um für Argumentlisten mehr Speicher zur Verfügung zu stellen. Wie das genau zu bewerkstelligen ist, kannst Du hier lesen: http://www.rootforum.org/forum/viewtopi ... 289#283632