Hi, On Tue, Nov 21, 2023 at 04:18:13PM -0500, Adam Chasen via Gphoto-devel wrote: > 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...
PTP is directory based and usually reflects the layout of the card with a /store_xxxxxxx/ identifier in front. gphoto2 -L will show it. And yes, if you shoot more than 10000 files in one go on a DCIM layout you will need to change from a generic "gphoto2 -P" to a per-directory download script I would say, or perhaps use the --filename option with some datestamp in it. Ciao, Marcus _______________________________________________ Gphoto-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gphoto-devel
