Discussion Junk folders

antigravity

Blitz 1st Class
Original poster
62
6
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
12
2
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.
 
  • Like
Reactions: timekills

MrDoob

Administrator
Project Manager
Donor
1,249
333
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
 
  • Like
Reactions: timekills

antigravity

Blitz 1st Class
Original poster
62
6
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