What would be the easiest way to sort a lot of images that are currently residing in one directory into subdirectories each named after the date of the shooting of the image?

Is there a utility or a batch script for something like that?

I imagine I'm not the first who thought of this, but suprisingly, couldn't find anything on photo.SE until now.

  • Possible relevant answer (check my scripting).
    – TFuto
    Jun 9 '15 at 13:23

I'm not sure about moving files into directories, but take a look at Namexif, which will rename files according to the date they were shot - it might be useful to you:


With some Perl scripting ability, it shouldn't be too hard to write your own script for moving files into directories, using something like ExifTool:


Edit: Indeed, I just took another look at ExifTool, and it has the functionality you're looking for built in. See description here:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.