I have a folder with 5000 files that I want to copy somewhere else.
When I do cp ../folder* .
, I get the following error:
-bash: /bin/cp: Argument list too long
However, getconf ARG_MAX
returns 262144
.
$ echo ../folder* |wc
1 5015 69144
Is this normal? I had been able to copy all those files before.