Ideas - Empty trash files from the server | PlexGuide.com

Ideas Empty trash files from the server

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

Maslygan

Experienced
Original poster
Donor
Dec 1, 2018
87
18
A nice script that emptys various folders like download, incomplete, and other folders where trash files might fill up space. i've once had alot of s*hit files under aptdata/nzbget i think, as there was some kind of error on my server. (think i deleted like 200gb or so from there, and files might collect other places)

also a program like spacesniffer(although thats only available for windows i think) so you're able to see what is filling up your machines storage. this is nice for us that only have small amounts of local storage (1tb for in my case)
 

Porkie

Experienced+
Staff
Aug 9, 2018
142
68
The reason you get lots of trash files leftover is because sometimes uploaders nest video files a folder up. This causes issues for programs like radarr and sonarr. You want to be using the nzbget script called flatten. It is actually part of the pgblitz install but doesnt work and also the permissions on the script folder are borked. To fix this and get the plugin working do this.

sudo chmod -R 775 /opt/appdata/nzbget/scripts

sudo rm /opt/appdata/nzbget/scripts/flatten.py

goto this link https://raw.githubusercontent.com/clinton-hall/GetScripts/master/flatten.py and copy the whole text with ctrl a you may need to view raw to make it easier.

sudo nano /opt/appdata/nzbget/scripts/flatten.py

ctrl c the code you copied and save.

sudo chmod +x /opt/appdata/nzbget/scripts/flatten.py

Reload Nzbget and activate the script in the extension settings.

This will make all files that a nested in other into a flat file and the darrs will better handle them.
 
  • Like
Reactions: 2 users

Recommend NewsGroups

      Up To a 58% Discount!

Trending