Where does qBittorrent store the .torrent files? Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Galvinized83
Posts: 6
Joined: Sat Jun 22, 2019 3:53 am

Where does qBittorrent store the .torrent files?

Post by Galvinized83 »

Hi Guys,

As above really, where does qBittorrent store the .torrent files?

I need to upgrade the storage in my NAS & I'd still want to seed back the torrents I have running, I just can't seem to locate the .torrent files for qBittorrent.
If anyone can help point me in the right direction, I'd greatly appreciate it.

Regards
User avatar
Joulinar
Posts: 2044
Joined: Sat Nov 16, 2019 12:49 am

Re: Where does qBittorrent store the .torrent files?

Post by Joulinar »

Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Galvinized83
Posts: 6
Joined: Sat Jun 22, 2019 3:53 am

Re: Where does qBittorrent store the .torrent files?

Post by Galvinized83 »

Hi, (many thanks for your help)

I have seen that pages you have lined too while Googling and tried to cd into the first level and i didn't seem to get anywhere, eg:
root@DietPi:/# cd /.local/
-bash: cd: /.local/: No such file or directory
root@DietPi:/# cd /.config/
-bash: cd: /.config/: No such file or directory

I've only been messing with Linux for about 18 months so I've still got a lot to learn, but most stuff I can kind of figure out by my self. I just don't know where qBittorrent keeps those .torrent files or how to access them.

many thanks
Galvinized83
Posts: 6
Joined: Sat Jun 22, 2019 3:53 am

Re: Where does qBittorrent store the .torrent files?

Post by Galvinized83 »

There is a reference to qBittorrent in /home/ but I can't seem to gain access to it by just cd(ing) into it
User avatar
Joulinar
Posts: 2044
Joined: Sat Nov 16, 2019 12:49 am

Re: Where does qBittorrent store the .torrent files?

Post by Joulinar »

what user you are using to access the /home/qbittorrent. Using root, it's working. As well I see the folder described on qbittorrent FAQ

Code: Select all

root@DietPiVM1:/home/qbittorrent# ls -la
total 20
drwxr-xr-x 5 qbittorrent dietpi 4096 Mar 28 00:15 .
drwxr-xr-x 4 root        root   4096 Mar 28 00:14 ..
drwxr-xr-x 3 qbittorrent dietpi 4096 Mar 28 00:15 .cache
drwxr-xr-x 3 qbittorrent dietpi 4096 Mar 28 00:14 .config
drwxr-xr-x 3 qbittorrent dietpi 4096 Mar 28 00:15 .local
root@DietPiVM1:/home/qbittorrent#
and there are the torrent files

Code: Select all

root@DietPiVM1:/home/qbittorrent/.local/share/data/qBittorrent/BT_backup# ls -la
total 40
drwxr-xr-x 2 qbittorrent dietpi  4096 Mar 28 00:23 .
drwxr-xr-x 5 qbittorrent dietpi  4096 Mar 28 00:15 ..
-rw-r--r-- 1 qbittorrent dietpi  1100 Mar 28 00:23 672f6ba0a49b285fa79835ccd5732cc1c5bbd5bb.fastresume
-rw-r--r-- 1 qbittorrent dietpi 25570 Mar 28 00:23 672f6ba0a49b285fa79835ccd5732cc1c5bbd5bb.torrent
-rw-r--r-- 1 qbittorrent dietpi     0 Mar 28 00:15 session.lock
root@DietPiVM1:/home/qbittorrent/.local/share/data/qBittorrent/BT_backup#
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Galvinized83
Posts: 6
Joined: Sat Jun 22, 2019 3:53 am

Re: Where does qBittorrent store the .torrent files?

Post by Galvinized83 »

Hi, (many thanks for your help)

I was (well I thought I was) using root as the user.

I was using just "ls" as the command to list the files, whereas you're using "ls -la" (I didn't know this was a command).
If I cd into /home/qbittorrent & use the "ls -la" command it shows the 4 files?

But I was expecting 6 torrent files, but it lists only 4 files. I this normal?
I was hoping to just set up a SMAB and transferring the files over to another computer on the network.
User avatar
Joulinar
Posts: 2044
Joined: Sat Nov 16, 2019 12:49 am

Re: Where does qBittorrent store the .torrent files?

Post by Joulinar »

yes you would need to use ls -la because the directories inside /home/qbittorrent are hidden. you can see it on the DOT in front of the directory name. Just using ls will not display them.

https://linuxize.com/post/how-to-list-f ... s-command/

pls can you show the 4 or 6 files you mean. because I don't understand this at all.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply