duplicate file names from Camera File system

Adam Chasen via Gphoto-devel <[email protected]> Tue, 21 Nov 2023 16:18:13 -0500
Newsgroups gmane.comp.multimedia.gphoto.devel
Message-ID <[email protected]>
In my attempts to regularly "sync" my camera I believe I found a scenario where file conflicts can occur due to the "flattening" of the DCF (https://en.wikipedia.org/wiki/Design_rule_for_Camera_File_system) and the (date based?) PTP folder structure. Each folder only contains 10,000 files and then the counter starts again, but stores them in a different folder. Is there an option to capture the PTP structure in the `--get-all-files` function?

If there is a conflict, it appears the default action is to error (based on the presence of `--force-overwrite`)

Aside: I have never shot 10k files in a day, so not sure what the PTP date based filesystem would do...

Thanks,
Adam