1

[SOLVED] copy batches of 10,000 files from a folder...

view story
linux-howto

http://ubuntuforums.org – How can I copy 10 batches of 10,000 images from a folder containing 100,000 images into 10 new sub folders? I have a folder containing 100,000 images and I want to take the first 10,000 images and move them into a sub folder called folder1 then take the next 10,000 images and move them into folder2 etc until there are 10 new sub folders each having 10,000 images inside. we must take into account that the images are named 0-100000 so the first batch moved would be image1.jpg to image10000.jpg, they must be in number order. thanks (Hardware)