This question already has an answer here:
- Solving “mv: Argument list too long”? 8 answers
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
getconf ARG_MAX returns
$ echo ../folder* |wc 1 5015 69144
Is this normal? I had been able to copy all those files before.