Bug 435680 - Comparing files being downloaded with target location files
Summary: Comparing files being downloaded with target location files
Status: RESOLVED DUPLICATE of bug 319001
Alias: None
Product: digikam
Classification: Applications
Component: Import-History (show other bugs)
Version: 7.3.0
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-13 07:05 UTC by Kokos
Modified: 2021-04-13 11:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kokos 2021-04-13 07:05:00 UTC
This is a feature request. There is already a setting in camera/import behaviour section to skip/replace/create_copy files in case they already exist in target location. Can we do this more reliable to classify file as already existing basing not only on its filename but also other attributes like at least file size?

Please reassign if I selected wrong component. Thank you.
Comment 1 caulier.gilles 2021-04-13 07:36:50 UTC
Hi, There is already a download hstory fingerprint recorded in database to identify which files are already copied from camera to the collections.

But i'm not sure if code is always actif currently.

Gilles Caulier
Comment 2 Kokos 2021-04-13 07:50:03 UTC
(In reply to caulier.gilles from comment #1)
> There is already a download hstory fingerprint recorded in database to
> identify which files are already copied from camera to the collections.

Thanks, I know, but I can imagine situation that you reset digikam, clean home directory or reinstall operating system and with fresh digikam instance you perform import of SD card which contain files already downloaded. Fingerprint history is empty, but files are already in target location. By default digikam import just creates duplicates with a different name. In case, just before downloading, it recognizes that filename and sizes are identical it could suggest skipping those files if there would be an option for that. I think it would be handy. I'm not talking here it should be a default setting, definitely not, but in some cases it could be very helpful.
Comment 3 Maik Qualmann 2021-04-13 11:02:33 UTC

*** This bug has been marked as a duplicate of bug 319001 ***