this post was submitted on 05 Oct 2024
102 points (99.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54539 readers
425 users here now

⚓ 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

founded 1 year ago
MODERATORS
 

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

top 9 comments
sorted by: hot top controversial new old

Good to know, thanks

[–] narc0tic_bird@lemm.ee 10 points 1 month ago

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

[–] eric@lemmy.ca 3 points 1 month ago (2 children)

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

[–] American_Jesus@lemm.ee 4 points 1 month ago* (last edited 1 month ago) (1 children)

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 2 points 1 month ago

Awesome. Thanks!

[–] 1rre@discuss.tchncs.de 3 points 1 month ago

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

[–] turkalino@lemmy.yachts 2 points 1 month ago (1 children)

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@bookwormstory.social 6 points 1 month ago* (last edited 1 month ago) (1 children)

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 3 points 1 month ago

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.