Was organizing old photos and using a self-written script but then found out that `exiftool` works better and has more functionality. Reminds me to look around for a better tool before slapping together my own poor version.
```
exiftool '-Directory<CreateDate' -d sorted/%Y/%Y-%m -r photos
```