Using the same statistics file on a dual boot (Windows 10/Linux)

Linux specific questions, problems.
Post Reply
b1o5hock

Using the same statistics file on a dual boot (Windows 10/Linux)

Post by b1o5hock »

Hy!

I was wondering, is it possible to use the same stats file when dual booting Windows 10 and Linux?

I was hoping to have my stats in one place, and not to have special stats for Windows 10 and sepcial stats for Linux.

Just to be clear, all of my drives are visible from either OS.

Also, I installed qBittorent-nox and used the

Code: Select all

--profile
option but it didn't help.

Idealy, I would use the stats on my NTFS Windows 10 disk.

Any ideas?
Mushroomcraft
Newbie
Newbie
Posts: 1
Joined: Sun Nov 03, 2024 8:31 pm

Re: Using the same statistics file on a dual boot (Windows 10/Linux)

Post by Mushroomcraft »

You can create links to the stats file, which on linux is located in one of these two locations

Code: Select all

~/.var/app/org.qbittorrent.qBittorrent/config/qBittorrent/qBittorrent-data.conf
~/.config/qBittorrent/qBittorrent-data.conf
Use ln, in my case it was

Code: Select all

ln -s /media/$USER/Extra/torrents/qBittorrent-data.conf ~/.var/app/org.qbittorrent.qBittorrent/config/qBittorrent/qBittorrent-data.conf
On Windows, it's located in

Code: Select all

%AppData%\qBittorrent\qBittorrent-data.ini
Use mklink. You have must use Command Prompt with Administrator permissions. My torrents were on a seperate drive, and since you can't link to files on seperate drives, I've had to link to the directory containing that file, and then link to the file.

Code: Select all

mklink /D %AppData%\qBittorrent\linked\ E:\torrents\
mklink %AppData%\qBittorrent\qBittorrent-data.ini %AppData%\qBittorrent\linked\qBittorrent-data.conf
Make a copy of these files before doing this.

As for merging the statistics, it's recommended to just choose one or the other, as merging statistics is a pain, I've been able to do it with the help of ChatGPT. It wrote me a Python script that overwrote the statistics using the QT library, as the statistics are stored in a propriatery binary format.
Post Reply