Exiftool

Move file in a datatime architecture

exiftool "-Directory<DateTimeOriginal" -d "%Y/%m" <path>/*.<extension>