Hi,
I recently got a bit low on free capacity on my download dir, and discovered that SAB has been retaining failed downloads indefintely. I wasn't previously aware of this functionality, but it makes sense that all the data downloaded is retained somewhere in the event of a failure for user review.
Then I found the scheduler option to delete failed downloads at a specific time.
However, I'd like to delete all the old, failed downloads. If it's sat there failed for 30 days, chances are no-one cares.
I can write a script to do this in the OS. Every night at some weird time, check for failed download dirs in the download folder timestamped more than 30 days ago and then delete them.
But; should I do this?
Is it safe to just delete those folders under the download path?
Cheers!
Remove old failed downloads
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: Remove old failed downloads
You can do it very quickly using the Purge failed downloads at the bottom of the history (in the Glitter skin). If you do that from time to time, you should be fine!
Your script (if you check folder creation date to see if they are older than 30 days), should also work of course. No harm, except that you can't try them again.
Programs like Sonarr and couchpotato usually automatically delete the failed downloads (if they added them) so you don't have to worry about such things.
Your script (if you check folder creation date to see if they are older than 30 days), should also work of course. No harm, except that you can't try them again.
Programs like Sonarr and couchpotato usually automatically delete the failed downloads (if they added them) so you don't have to worry about such things.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Remove old failed downloads
Thanks for the info.

