I do quite a bit of 3D animations, and the render results are a mess of image files, thousands of them. They emerge maddeningly unsorted, and the app I use to composite them (After Effects) doesn’t sort them into their ‘passes’ like it should. Thus it can take an hour to get files into AE to begin work on them. But AE will import properly if the images are sorted into subfolders.
I’d like to know whether a script exists that looks at a folder of files and sorts it into subfolders by simple search criteria. For example, the image look sequences like this
filename_specular_001.tga
filename_specular_002.tga
filename_specular_003.tga
.
.
.
filename_specular_999.tga
filename_refl_001.tga
filename_refl_002.tga
filename_refl_003.tga
.
.
.
filename_refl_999.tga
(etc.)
In this case, the ‘specular’ and the ‘refl’ are the things I’d like to use to sort these image sequences into folders. Those never change. The best result would be a script that created a series of folders with the names below and sorted image files into them:
Subfolders
rgb
reflection
motion
normal
shadow
specular
object_1
object_2
object_3
object_4
object_5
post_1
Does this exist? Or can this be made?