Rename Folders with Year Month and the *Day* of the first (youngest) picture taken: `%firstday` placeholder
That sounds esoteric, but allow me to explain:
I did numerous trips in one month and trips that span more than one month. To have the folders sorted by time it would be great to add the day of the youngest picture in the folder.
Instead of:
├── 201506_Berlin_Germany
│ ├── 20150629_16-34-14-img_3900.jpg
│ └── 20150630_17-07-06-img_3901.jpg
├── 201506_Gradac_Croatia
│ ├── 20150619_17-16-37-img_9426.jpg
│ └── 20150624_19-06-33-img_9432.jpg
├── 201506_Vienna
│ ├── 20150612_01-41-38-_dsc8705.dng
│ ├── 20150612_01-41-38-_dsc8705.nef
├── 201507_Berlin_Germany
├── 20150701_16-34-14-img_3900.jpg
└── 20150701_17-07-06-img_3901.jpg
Berlin was one destination or let's say one project, but since it goes from June to July its in two different folders, with two to n different folders in between.
It should be like:
├── 20150612_Vienna
│ ├── 20150612_01-41-38-_dsc8705.dng
│ ├── 20150612_01-41-38-_dsc8705.nef
├── 20150619_Gradac_Croatia
│ ├── 20150619_17-16-37-img_9426.jpg
│ └── 20150624_19-06-33-img_9432.jpg
└── 20150629_Berlin_Germany
├── 20150629_16-34-14-img_3900.jpg
├── 20150630_17-07-06-img_3901.jpg
├── 20150701_16-34-14-img_3900.jpg
└── 20150701_17-07-06-img_3901.jpg
Because Berlin was the last destination, starting end of June but going into July, It should be at the end of the list. This could be easyely accomplished with a %firstday placeholder (or however you want to name it).
How would %firstday work? The library processes a single photo at a time and not in batches. Yes, the import command accepts a batch of photos but it calls import_file on each.
The closest you can come to what you're looking for is to leave off the day from the folder. I do this and have folders YYYY-MM - but I still run into the problem you're describing when a trip spans two months. I understand what you're trying to solve :). I'm just not sure how %firstday solves it. What if you import more photos from the same trip on another day?
If only photos are processed one after another and these photos don’t know anything about each other, then of course that’s a problem. I’ve currently solved this by writing a small Python script that stores the dates of all the photos it reads and can then identify the “youngest” one.
This also provides a reliable method to renumber the photos (since adding DATE and TIME at the beginning of the filename makes them very long, and that's problematic if you use them in, let's say, video editing software), since only then do you know how many photos there are in total in a folder and can calculate the number of leading zeros needed (Elodie doesn’t renumber the photos yet, does it?).
Another problem can occur if you have folders with photos from different cameras (and users), but that's maybe beyond Elodies scope.