When removing a torrent with “Also remove the content files” instead of deleting the files it moves to .Trash-ID, even on headless/docker systems.
Set to delete files: Settings -> Advanced -> Torrent content removing mode: Delete files permanently
Issue https://github.com/qbittorrent/qBittorrent/issues/21497
PS: There’s a pull request to revert back to delete https://github.com/qbittorrent/qBittorrent/pull/21528


Do I have to manually delete the trash files after changing the setting?
Yes, if you’re using a system package check the root of your drive (
/mnt/sdb/.Trash-1000), if it’s docker (e.g.-v /path/to/downloads:/downloads) should be/path/to/downloads:/downloads/.Trash-$PIDAwesome. Thanks!
you could always symlink .Trash to /dev/null if you don’t care about potential accidents