How to migrate settings from Mac to Linux correctly?

I am migrating from Mac to Linux. If it were not for the different directory structures for data, I would not have asked this and just copied app data and tested myself.

The thing is, based on https://support.torproject.org/tbb/tbb-editing-torrc/:

On Windows or Linux:

  • The torrc is in the Tor Browser Data directory at Browser/TorBrowser/Data/Tor inside your Tor Browser directory.

On macOS:

  • The torrc is in the Tor Browser Data directory at ~/Library/Application Support/TorBrowser-Data/Tor.

The paths are different and on Mac TorBrowser-Data contains – it seems, contents of Tor Browser and of TorBrowser/Data and that is a few directories, so I’m not sure where what directory should be moved, or what else to do so the migration process is flawlessly executed.