Plex - Change Plex directory with out re-scan on google drive | PlexGuide.com

Plex Change Plex directory with out re-scan on google drive

  • 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

dantheman61

Citizen
Original poster
Oct 22, 2018
4
1
I have about 100tb on google drive mount with plex. I would like to change the directory of the 100tb of media but don't want the google drive ban hammer. How can i change directory of plex without a re-scan?

For example:
Folder1/Folder2/TV to Folder/TV

thanks
 
Last edited:

doob

Administrator
Project Manager
Jun 7, 2020
916
476
Code:
sudo sqlite3 "/opt/appdata/plex/database/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db" "UPDATE media_parts SET file= replace(file, '/mnt/unionfs/Folder1/Folder2/TV/', '/mnt/unionfs/Folder/TV/') where file like '%/mnt/unionfs/Folder/TV/%'"
Please made a backup from plex before you running this command !!!!

OWN RISK.!!!!
 
  • Like
Reactions: 1 user

bxta

Citizen+
Donor
Jun 11, 2019
21
6
Is it not possible to move the data directly in the web interface of gdrive?
 

doob

Administrator
Project Manager
Jun 7, 2020
916
476
Is it not possible to move the data directly in the web interface of gdrive?
Yap .
But Plex need a full rescan after moving the filss
 

QPro

Active
Aug 17, 2019
41
8
Alternatively, you can create a symlink to the original location with
Code:
ln -s 'Folder/TV' Folder1/Folder2/TV'
assuming you run Linux.
 

Recommend NewsGroups

      Up To a 58% Discount!

Trending