Page 1 of 1

Remove old failed downloads

Posted: November 19th, 2016, 8:42 pm
by pc001
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!

Re: Remove old failed downloads

Posted: November 20th, 2016, 3:27 am
by safihre
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.

Re: Remove old failed downloads

Posted: November 23rd, 2016, 3:49 am
by pc001
Thanks for the info.