* Synchronising settings using 'mklink' command

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
avatar
wagojo
Gold
Posts: 18
Joined: 01 Jun 2014 03:30
Family Historian: V7
Location: Melbourne, Australia

Synchronising settings using 'mklink' command

Post by wagojo » 29 May 2023 05:34

Hi everyone

Is it possible to use the 'mklink' command to target/link the entire Calico Pie\Family Historian folder rather than having to create targets/links for every folder of interest e.g. Calico Pie\Family Historian\Autotext, Calico Pie\Family Historian\Plugins, Calico Pie\Family Historian\Source Templates etc?

When I try at this level FH7 will not open. The command line I'm using is: mklink /J "c:\ProgramData\Calico Pie\Family Historian" "C:\Dropbox\!Mackie-Jones Family History\2 DATA FILES\SETTINGS SYNCHRONISATION\Family Historian"...

Any thoughts?

Cheers
Wayne

avatar
wagojo
Gold
Posts: 18
Joined: 01 Jun 2014 03:30
Family Historian: V7
Location: Melbourne, Australia

Re: Synchronising settings using 'mklink' command

Post by wagojo » 29 May 2023 05:56

... just a bit more background: I'm wanting to share these settings between two PCs so I can work on either with up to date customisations, e.g. source templates. Interestingly - if I use the 'mklink' command to create a target/link just for the Source Templates folder in ProgramData and open FH none of my customised templates appear. I'm obviously doing something wrong!

Cheers
Wayne

User avatar
johnmorrisoniom
Megastar
Posts: 882
Joined: 18 Dec 2008 07:40
Family Historian: V7
Location: Isle of Man

Re: Synchronising settings using 'mklink' command

Post by johnmorrisoniom » 29 May 2023 07:01

I have done this, but targeted the entire Calico Pie sub folder in the Program Data Folder

The real Calico Pie folder is on One Drive and can be seen by both other computers that I use (I have 2 licenses)

John

User avatar
Mark1834
Megastar
Posts: 2145
Joined: 27 Oct 2017 19:33
Family Historian: V7
Location: South Cheshire, UK

Re: Synchronising settings using 'mklink' command

Post by Mark1834 » 29 May 2023 07:35

Have you selected "Run as administrator" when opening the command window to create the junctions?

It's personal preference how many folders you link. The top level folder contains a lot of files, so it's a balance between coverage and speed of syncing. A lot of people are still on internet connections that only offer relatively slow uploads, and if that is the case you may find selective linking is more convenient.
Mark Draper

avatar
wagojo
Gold
Posts: 18
Joined: 01 Jun 2014 03:30
Family Historian: V7
Location: Melbourne, Australia

Re: Synchronising settings using 'mklink' command

Post by wagojo » 30 May 2023 00:29

Hi Mark and John

Thank you for your replies. Everything is working fine now! A combination of 1) not running CMD as administrator, and 2) a typo! :-)

Cheers
Wayne

Post Reply