I just changed the system on which I'm running a node from a Mac to a Ubuntu Linux system. On the Ubuntu system the blockchain data is on a disk device different from the root disk containing my home directory. I copied the blockchain data of a couple of days ago from the Mac to the Ubuntu system. In
/home/myUserName/.bitcoin/bitcoin.conf I set datadir=[path to data disk]. The other files in that directory seem what I'd expect virgin, pre-IBD, files to look like. I ran bitcoin-qt and it brought the blockchain up to date on the data disk.
Then I happened to notice that there is a
home/myUserName/.config/Bitcoin/Bitcoin-Qt.conf file and it contains
StrDataDir=/home/myUserName/.bitcoin, i.e., the default and now incorrect blockchain data location. Should I change that? Or maybe it's telling bitcoin-qt where the bitcoin.conf file is?
P.S.: can I delete the files in
/home/myUserName/.bitcoin other than bitcoin.conf?