

thanks to

This is the script:
Code: Select all
{
def mainPath = 'Z:/Cinedriveonline/PELICULAS/'
def fileInfo = " - $vf [$mbps] $Languages"
def norm = {it.colon(' - ').replaceAll(/[?]/, '¿').replaceAll(/[!]/, '¡')};
def allNorm(path, hard, dir, info){ path + hard + dir + '/' + dir + info };
def outFull = genres.contains('Animación') ? ( allNorm(mainPath, '5 ANIMACION ACORTAR/', norm(ny), fileInfo) ) : ( hd ? allNorm(mainPath, '4 PELICULAS ACORTAR/', norm(ny), fileInfo) : '7 RENOMANUAL/' + norm(ny) )
!(outFull as File).parentFile.exists() ? outFull : allNorm(mainPath, 'DUPLICADA/', norm(ny), fileInfo)
}
1- if the movie belongs to the animation genre, move it to a folder called "5 ANIMACION ACORTAR"
2- THE OTHERS SEND THEM TO "4 PELICULAS ACORTAR"
3- if it gives an error, send it to "7 RENOMANUAL"
4- if it already exists, send it to "DUPLICADA"
What I would like now to automate the result is ...
- if the movie starts with A, move it to folder A, and so on until Z
- That points 1,3 and 4 be maintained
- Point 2 is removed
I take this opportunity to thank your help and the good filebot