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.