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

@narc0tic_bird@lemm.ee
link
fedilink
English
101M

Thanks for letting me know, I just updated to v5 yesterday.

Tired Board of Wood
link
fedilink
English
201M

Good to know, thanks

Bobby Turkalino
link
fedilink
English
21M

It drives me nuts when Linux applications do this. Delete features should be analogous to rm, simple as that.

KDE recently added an “extract and delete archive” context menu option and it’s absolutely useless because it moves the archive to the Trash folder

Neshura
link
fedilink
English
6
edit-2
1M

You apparently have little interaction with regular users because one of the top problems a non-power user has is “oops I accidentally hit delete on this important file I don’t have a backup of”.

Not saying qbittorrent-nox of all things switching makes a ton of sense but at least for desktop applications there is a very good reason why deleting things becomes a two step process.

@taaz@biglemmowski.win
link
fedilink
English
31M

Graphical applications should definitely do this, it’s rather easy to hit delete accidentally but in CLI? I wanna see a cat type rm and some valid parameters, so if the user typed the whole command out it should probably do just the one exact (destructive) thing.

@eric@lemmy.ca
link
fedilink
English
31M

Do I have to manually delete the trash files after changing the setting?

@American_Jesus@lemm.ee
creator
link
fedilink
English
5
edit-2
1M

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-$PID

@eric@lemmy.ca
link
fedilink
English
21M

Awesome. Thanks!

@1rre@discuss.tchncs.de
link
fedilink
English
31M

you could always symlink .Trash to /dev/null if you don’t care about potential accidents

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
!piracy@lemmy.dbzer0.com
Create a post
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don’t request invites, trade, sell, or self-promote

3. Don’t request or link to specific pirated titles, including DMs

4. Don’t submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

  • 1 user online
  • 106 users / day
  • 270 users / week
  • 1K users / month
  • 3.5K users / 6 months
  • 1 subscriber
  • 3.4K Posts
  • 82.2K Comments
  • Modlog