Sonarr: Recycling Bin Management

Created on 16 Jun 2017  路  11Comments  路  Source: Sonarr/Sonarr

A page in the UI for managing the recycling bin, to see which files are there, the ability to empty it or restore a file from it back to the library (manual import-like?).

enhancement proposal

Most helpful comment

i would also add the ability to handle cleanup automatically... So, set a size limit on the bin (1TB for example) and then keep only the most recent 1TB of files and delete everything else.

All 11 comments

Speaking of recycle bins, the option to have a separate recycling bin directory for different drives would also be nice.

i would also add the ability to handle cleanup automatically... So, set a size limit on the bin (1TB for example) and then keep only the most recent 1TB of files and delete everything else.

I like the idea of a size limit on the recycle bin, but it's probably a lot of code to write (I don't know, I'm not a dev).

Would you consider adding the "delete everything older than 7 days in the recycle bin" interval as a setting in the GUI?
(advanced option, don't allow users to set it to 0 or higher than a reasonable maximum, default = 7)
Use case: I'd like to set the interval a bit shorter. My disk still fills up with lower quality files that were upgraded but I'm reluctant to turn off the recycle bin altogether since I occasionally have to "save" a file in it.

Somewhat related: the tooltip on the recycle bin option says "files will go here [...] instead of being permanently deleted". But after 7 days, they're deleted anyway (!)
Haven't seen anyone complain about that, but e.g. in Windows you can leave files in the recycle bin forever if you really want. I think maybe a little warning for people thinking Sonarr's recycle bin works the same way would be nice.

+1 to this, totally forgot I had a recycle folder setup for my Sonarr installation recently and had to delete 2.4TB of data..

@Kyrluckechuck me too! That's why I'm here. I made a mistake with my Radarr and Sonarr configs on mac, incorrectly setting them to use what I thought was the macOS recycle bin folder:

/Volumes/drivename/.Trashes/

Both Sonarr and Radarr were using that folder. However, since the macOS dock trash wasn't showing anything in it, emptying it wasn't an option, nor would it have helped. I just realized I had about a TB of stuff in the above folder, and that's why my drive was out of space.

After a lot of research, I discovered the CORRECT folder path (below) for macOS that causes the trash bin to show that it's not empty is in fact:

/Volumes/drivename/.Trashes/501/

That missing 501 folder was the key. Sigh. Hope that helps someone.

Is this still an issue you all want to be resolved? I can set up some archiving scripts to manage the recycling folder if enough want it.

I would still like to see something in place to manage it. TIA!

I'm surprised there's not limit on the diskspace used or some automated job to clean it up old files. So count me in for adding my vote on this feature request :)

v3 appears to be auto deleting older then 1 week files. Though I have no idea if it actually does it, I just saw it in the change log (I'm hoping there will be a way to customize the 1 week and/or disable it).
https://github.com/Sonarr/Sonarr/commit/dc7b4cebf2b0990e95aed2a96300f1dea1b13390

Oh wow, I totally missed that change last week, thank you @Thirrian !!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sparkie3 picture sparkie3  路  3Comments

pimlie picture pimlie  路  4Comments

sam3d picture sam3d  路  3Comments

markus101 picture markus101  路  4Comments

mommalongnips picture mommalongnips  路  3Comments