Page 1 of 1

Split movie library alphabetically

Posted: 13 Jan 2018, 15:29
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

Re: Split movie library alphabetically

Posted: 13 Jan 2018, 16:54
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.