Split movie library alphabetically

Any questions? Need some help?
Post Reply
bhasonson
Posts: 2
Joined: 05 Mar 2017, 18:32

Split movie library alphabetically

Post by bhasonson »

I’m using filebot with AMC script. I was wondering if there is a way to split your library locations alphabetically. This would look like:
Any movie name that starts with A to M goes to D drive and N to Z goes to H drive for example.

I have looked throughout the forums and I didn’t find anything like this (besides just sorting into A-Z folders). Would this be possible?

My current problem is that I do not have space on my current drive and would like to split up the library. This would be the easiest thing to do in my opinion.

Thanks for the help in advance
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Split movie library alphabetically

Post by rednoah »

Yes, you can use custom format expressions to generate different output paths for different files:
https://www.filebot.net/naming.html

You will find examples for this exact use case here:
viewtopic.php?f=5&t=2

e.g. [0-9a-f] go to Drive X, [g-t] to Drive Y and everything else to Z

Code: Select all

{n =~ /^(?i)[0-9a-f]/ ? 'X' : n =~ /^(?i)[g-t]/ ? 'Y' : 'Z'}:/{plex}

:idea: I recommend using the GUI application first and play with your custom format for a bit with a few test files. Once you have your format the way you want it, then you can just pass it to the amc script.
:idea: Please read the FAQ and How to Request Help.
Post Reply