ybo117 Posted December 12, 2012 Report Share Posted December 12, 2012 Hello all, Is there a way/option to avoid duplicates when adding jpeg images (with copy option) to a catalog ? I don't want to use the 'delete source file after successful transfer' option. In fact, when some information has been added in Daminion to a jpeg image (keyword, title, ...), on the next 'add files' from the SD card, the image is re-imported a second time with name(2).ext. I know that the 2 files are not exactly the same, but for me it is the same image. The first imported has more metadata as the second. Best regards, Yves Quote Link to comment Share on other sites More sharing options...
Uwe Posted December 13, 2012 Report Share Posted December 13, 2012 Hello Yves, as far as I can remember me we had a discussion about duplicate items here in the forum. The initial request was to import files taken at the same moment (second). The speed of the SLR cameras produce multiple files in the same second. In an older release of Daminion only one file was imported and the other were lost. The current Situation is the result of the discussion and works now as requested. How can you avoid the problem? I suggest: Make a backup of the SD Card if this is your preferred strategy, import the files into Daminion and tag them, make a backup of the catalog and delete the files from the SD Card. Regards, Uwe Quote Link to comment Share on other sites More sharing options...
Murat Posted December 13, 2012 Report Share Posted December 13, 2012 Yves, your goal is clear. And Uwe suggested a workable solution. If a copying file is existed in the destination folder, Daminion compares files by the hole file content. And it doesn't matter what media format we are copying now. To resolve your issue we need to compare files by it's image part (and ignore the metadata block). And the problem here: there are a lot of different media formats, and we need to write an image part extractor for a lot of formats, and that can be time consuming task now. Quote Link to comment Share on other sites More sharing options...
ybo117 Posted December 13, 2012 Author Report Share Posted December 13, 2012 Hello Uwe and Murat, I have found and read the previous conversation about duplicates and I understand your motivation. A simple way to preserve the current logic and solve the problem for files where the metadata are modified in the file himself like 'jpg' or 'dng' files could be: . add an option 'forbid duplicates' in the 'import screen' (like 'delete source files after transfer') . if this option is selected, test for filename clash: . if filename clash: dot not copy/add . else use the current logic . else use the current logic This very simple and should not use many resources. There is no need for complex programming like for an image part extractor. Regards, Yves Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.