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: email@example.com <firstname.lastname@example.org> 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:
- A Media record is created that links to a Media file
- A Media file is added into the Project folder structure in the Media folder
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
I'm new to FH and have struck a problem when entering Source documents. I entered a Source document then deleted it while trying to standardize all other Source records. When re-entering it I got the 'name conflict ...' error message. I can enter the document but it will add a (2) etc. at the end. I don't want this. It appears the original deletion did not clean up all 'behind-the-scenes' records/links. How do I check for and cleanup the original entry to resolve this? There is only one source file I am trying to enter into FH.