Re: Name conflict with an existing file
toggle quoted messageShow quoted text
Mike and Adrian,
Correct me if my understanding is wrong but when creating the record in FH a copy of the original file, eg, Photo, Birth Certificate goes into the Project file, eg, ‘…\Family Historian Projects\<project>\<project>.fh_data\Media where <project> is your Project name’.
In my situation I end up with two copies, the original source file (eg, Photo, Birth cert.) in a completely separate folder on my PC, the second within FH in the Media folder above … File Explorer shows two files of the same name, one in FH, the other in a separate folder outside of FH.
So when I delete the record in FH I would have expected it, or advised me exactly what I was going to delete and given options, eg, record only, record and file etc., to have deleted the record and the copy of the original document in the Project media folder while I still retain my original source file completely separate from FH.
I’m trying to keep the number of file duplicates not only in FH but other applications to a manageable, less confusing, minimum.
One thing I have learnt early on, stressed to me by others doing geneaology, is to have backups of all one’s precious files.
From: firstname.lastname@example.org <email@example.com> On Behalf Of Mike Tate
Sent: Tuesday, 14 April 2020 1:04 AM
Subject: Re: [family-historian] Name conflict with an existing file
For others who may be following this thread, there is a more complete answer in the FHUG Forums.
The reason why FH does not delete the Media file linked to a deleted Media record is it may be a precious file needed for other purposes.
That file may actually be linked to another Media record and the one being deleted is a duplicate.
Also remember, that FH can link to Media files outside the Project folder and thus may be used by other applications.
So FH fails safe and does not delete external files. You would not want the only photo of some special event to be deleted.
Regards, Mike Tate
Thank you for the information.
Yes, I have found the ‘duplicate’ files in the Project Media folder. Bit disappointing though that when you delete the media record in FH it doesn’t delete the Media file as well. Weakness of the Delete function?
I did look at the Query options to look for these duplicates, however, it looks like a Custom query would need creating.
I will also take you advice regarding the Knowledge base.
When you enter source documents two things happen:
When you delete the Media record it does not delete the Media file.
So one solution, when recreating the Media record is to browse to the Media file that still exists in the Media folder.
That will be at …\Family Historian Projects\<project>\<project>.fh_data\Media where <project> is your Project name.
Otherwise, when you ask FH to recreate the Media file, Windows finds the file already there so gives the new one the (2) suffix.
Another solution is to run the Check for Unlinked Media Plugin, but as a newcomer, you may not have discovered Plugins yet.
The best way to learn about them is in the FHUG Knowledge Base > Family Historian Plugins at:
Also from your description, it is not clear whether you have a clear understanding of the Individual, Source & Media records structure.
There is much free introductory tutorial material in the FHUG Knowledge Base at https://www.fhug.org.uk/
Regards, Mike Tate
From: firstname.lastname@example.org <email@example.com> On Behalf Of blakey1954@...