On 27/02/2026 15:50, André Coelho wrote:
Hello,

Will you consider, a argument on cp , that targets multiple directories?
As in,

cp * -md /dir1 /dir2

-md is multiple dirs (just an example)

Well the single invocation of cp would not add any atomicity,
so the above is equivalent to:

  echo /dir2 /dir2 | xargs -n1 cp *

From a performance point of view, there may be some benefit
in the many dirs, few files case, but that would be very unusual.

thanks,
Padraig



Reply via email to