What's new
PGBlitz.com

Register Now! Find useful tips, Interact /w Community Members and join the part the Best Community on the Internet!

Discussion Junk folders

Assists Greatly with Development Costs

antigravity

Blitz 1st Class
PG Version
8.6.3
Mount Type
Blitz Encrypted
Server Type
Remote - Dedicated Server
Hi there

Just trying to clean up my install, make sure it runs autonomously, without any manual cleaning required

I've noticed when I download and post-process a file, I get empty/junk folders in the following locations:

Movie example
/mnt/downloads/Movies/Movie Name/
and
/mnt/move/Movies/Movie Name/

Are these folders auto deleted by the Clone Clean every 600 minutes?
 

GenericUser12

Blitz 3rd Class
They should be cleaned up for you. I had an issue in my /opt/appdata/plexguide/pgblitz.sh file.

You'll want to make sure that the following lines look like so:

Code:
# Remove empty directories
find "/home/move/" -mindepth 2 -type d -mmin +2 -empty -exec rm -rf {} \;
Mine was originally missing the '-mindepth 2' argument and included a wildcard in the directory so it looked like this:

Code:
find "/home/move/*" -type d -mmin +2 -empty -exec rm -rf {} \;
Which threw an error.
 

MrDoob

Administrator
Project Manager
Donor
First stop the service !!

sudo service pgblitz stop
sudo service pgblitz status
kill { PID }

PID are the numbers before the command .

cd /opt/appdata/pgblitz
nano pgblitz.sh

Follow the instructions { post before }

sudo mkdir /mnt/move
chown -cR 1000:1000 /mnt/move

sudo service pgblitz start
 

antigravity

Blitz 1st Class
What about the folders left in the /mnt/downloads/movies folder?
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.


Development Donations

 

Trending

Top