0

How can I copy around 1000 subfolders each having 4000 images into one single folder named all_images?

I tried the following:

$ cp upload/*/* all_images/

and got the following error:

bash: /usr/bin/cp: Argument list too long

Please note that I tried this on two small subfolders and it worked.

Mona Jalal
  • 4,695
  • 21
  • 74
  • 102

0 Answers0