# Where does qBittorrent store the .torrent files?

**URL:** https://dietpi.com/forum/t/where-does-qbittorrent-store-the-torrent-files/3965
**Category:** General Discussion
**Created:** [27 March 2020 22:08 UTC](https://dietpi.com/forum/t/where-does-qbittorrent-store-the-torrent-files/3965 "2020-03-27T22:08:49Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Galvinized83](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/g/dbc845/32.png) [@Galvinized83](https://dietpi.com/forum/u/Galvinized83)
#### Post date: [27 March 2020 22:08 UTC](https://dietpi.com/forum/t/where-does-qbittorrent-store-the-torrent-files/3965/1 "2020-03-27T22:08:49Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [27 March 2020 22:19 UTC](https://dietpi.com/forum/t/where-does-qbittorrent-store-the-torrent-files/3965/2 "2020-03-27T22:19:27Z")

</div>

Hi,

did you checked this one?

[https://github.com/qbittorrent/qBittorrent/wiki/Frequently-Asked-Questions#where-does-qbittorrent-save-its-settings](https://github.com/qbittorrent/qBittorrent/wiki/Frequently-Asked-Questions#where-does-qbittorrent-save-its-settings)

---

<div class="post-metadata">

### Author: ![Galvinized83](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/g/dbc845/32.png) [@Galvinized83](https://dietpi.com/forum/u/Galvinized83)
#### Post date: [27 March 2020 22:40 UTC](https://dietpi.com/forum/t/where-does-qbittorrent-store-the-torrent-files/3965/3 "2020-03-27T22:40:27Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Galvinized83](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/g/dbc845/32.png) [@Galvinized83](https://dietpi.com/forum/u/Galvinized83)
#### Post date: [27 March 2020 22:48 UTC](https://dietpi.com/forum/t/where-does-qbittorrent-store-the-torrent-files/3965/4 "2020-03-27T22:48:19Z")

</div>

There is a reference to qBittorrent in /home/ but I can’t seem to gain access to it by just cd(ing) into it

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [27 March 2020 23:18 UTC](https://dietpi.com/forum/t/where-does-qbittorrent-store-the-torrent-files/3965/5 "2020-03-27T23:18:36Z")

</div>

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

```nohighlight
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

```nohighlight
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#

```

---

<div class="post-metadata">

### Author: ![Galvinized83](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/g/dbc845/32.png) [@Galvinized83](https://dietpi.com/forum/u/Galvinized83)
#### Post date: [28 March 2020 00:10 UTC](https://dietpi.com/forum/t/where-does-qbittorrent-store-the-torrent-files/3965/6 "2020-03-28T00:10:07Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [28 March 2020 00:18 UTC](https://dietpi.com/forum/t/where-does-qbittorrent-store-the-torrent-files/3965/7 "2020-03-28T00:18:31Z")

</div>

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-files-in-linux-using-the-ls-command/](https://linuxize.com/post/how-to-list-files-in-linux-using-the-ls-command/)

pls can you show the 4 or 6 files you mean. because I don’t understand this at all.
