How to move only a specific amount of images from a folder

Posted by Luis Alvarado on Ask Ubuntu See other posts from Ask Ubuntu or by Luis Alvarado
Published on 2012-10-16T00:15:19Z Indexed on 2012/10/16 5:29 UTC
Read the original article Hit count: 225

Filed under:
|

I have a folder that has 200.000 images. I want to do the following:

  1. Move an X amount of images (50 images, 100 images, 200 images) from that folder to Y folder.
  2. Each Y folder can be a number (Folder 1, Folder 2, Folder 3...).
  3. The end result might look like this:

Folder 1 (Has X amount of images) Folder 2 (Has X amount of images) Folder 3 (Has X amount of images) Folder 4 (Has X amount of images)

© Ask Ubuntu or respective owner

Related posts about bash

Related posts about files