# Library migration and optimization

**URL:** https://forums.plex.tv/t/library-migration-and-optimization/296053
**Category:** General Discussions
**Tags:** media-optimizer
**Created:** [August 14, 2018, 3:33am UTC](https://forums.plex.tv/t/library-migration-and-optimization/296053 "2018-08-14T03:33:20Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![jeffprandall](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jeffprandall/32/92617_2.png) [@jeffprandall](https://forums.plex.tv/u/jeffprandall)
#### Post date: [August 14, 2018, 3:33am UTC](https://forums.plex.tv/t/library-migration-and-optimization/296053/1 "2018-08-14T03:33:20Z")

</div>

I am planning on migrating to a new server, Plex included. Is there a way I can use the Plex Optimize feature on my entire library (without clicking one by one) and have it saved on my new server? I’m no audiophile so if I got everything moved over in 720p or 1080p I would be fine.

---

<div class="post-metadata">

### Author: ![anon18523487](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anon18523487](https://forums.plex.tv/u/anon18523487)
#### Post date: [August 14, 2018, 10:14pm UTC](https://forums.plex.tv/t/library-migration-and-optimization/296053/2 "2018-08-14T22:14:57Z")

</div>

If you mount the drive on your new computer to your old one, then add that as a location to your current library, you can then optimize the entire library and use that new location to save the files to. Please note that if your original files already meet the specs of the optimize job, the file won’t get optimized so this file won’t make it over to the new computer.

---

<div class="post-metadata">

### Author: ![jeffprandall](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jeffprandall/32/92617_2.png) [@jeffprandall](https://forums.plex.tv/u/jeffprandall)
#### Post date: [August 15, 2018, 3:41am UTC](https://forums.plex.tv/t/library-migration-and-optimization/296053/3 "2018-08-15T03:41:15Z")

</div>

How do you set the entire library to optimize without clicking them one by one?

---

<div class="post-metadata">

### Author: ![anon18523487](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anon18523487](https://forums.plex.tv/u/anon18523487)
#### Post date: [August 15, 2018, 7:14am UTC](https://forums.plex.tv/t/library-migration-and-optimization/296053/4 "2018-08-15T07:14:36Z")

</div>

Hover over the first poster and click on the select icon in the top left corner of that poster. Then go to the last poster and do whatever your OS allows to do a continuous select. I’m on Windows so it’s shift+click.

---

<div class="post-metadata">

### Author: ![jeffprandall](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jeffprandall/32/92617_2.png) [@jeffprandall](https://forums.plex.tv/u/jeffprandall)
#### Post date: [August 22, 2018, 6:43pm UTC](https://forums.plex.tv/t/library-migration-and-optimization/296053/5 "2018-08-22T18:43:19Z")

</div>

And there is not an option to force optimize?

---

<div class="post-metadata">

### Author: ![anon18523487](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anon18523487](https://forums.plex.tv/u/anon18523487)
#### Post date: [August 22, 2018, 6:56pm UTC](https://forums.plex.tv/t/library-migration-and-optimization/296053/6 "2018-08-22T18:56:42Z")

</div>

No, you can’t force optimize if something already meets the optimize specs.

---

<div class="post-metadata">

### Author: ![jeffprandall](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jeffprandall/32/92617_2.png) [@jeffprandall](https://forums.plex.tv/u/jeffprandall)
#### Post date: [November 10, 2018, 4:53am UTC](https://forums.plex.tv/t/library-migration-and-optimization/296053/7 "2018-11-10T04:53:24Z")

</div>

Been a while but I am finally getting around to this. I have mounted a NFS share directly to my Freenas box at the /transcode location, then on my Plex plugin mounted /transcode to /transcode but I can’t seem to find on the Plex Optimization settings how to add /transcode as the location for optimized files. What did I miss?

---

<div class="post-metadata">

### Author: ![anon18523487](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anon18523487](https://forums.plex.tv/u/anon18523487)
#### Post date: [November 12, 2018, 9:07am UTC](https://forums.plex.tv/t/library-migration-and-optimization/296053/8 "2018-11-12T09:07:43Z")

</div>

The trancode folder is the temporary location used by PMS before saving to the final location. If you want to specify a different location other than your library, you need to add that location to your Plex library first. In other words, edit your library and “Add folder” pointing to the new location. Then when you choose to optimize, this new location will be available as the destination.

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [February 10, 2019, 9:19am UTC](https://forums.plex.tv/t/library-migration-and-optimization/296053/9 "2019-02-10T09:19:15Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
