Crate the_media_organizer

Crate the_media_organizer 

Source

Structs§

Organizer
Organizes files by apply the contained MediaTypeOrganizers.
PhotoOrganizer
For supported photos, it generates the destination path usinga 2 level directory structure where the first level is the year and the second level the month. For example:
VideoOrganizer
It organizes videos in directories by year. The year is taken from the file name using the regex ^(?:VID[-_])?(\d{4})(\d{2})\d{2}[_-].+\.mp4$, which basically translate to VID-YYYYMMDD-whatever.mp4 where VID- is optional and - can be changed to _.

Traits§

MediaTypeOrganizer
Handler of media files. It determines what and how to organize.