Traverses a directory, for known image types decides if landscape or portrait, copies image to appropriate directory.