1. Basic question, does the command line look in subfolders? As in if I direct it to "H:\TV\Unsorted\" will it look in and rename in "H:\TV\Unsorted\TV Show Download Folder\"?
2. I'm having issues with a command I've been trying not sure exactly why. This is the full command.
Code: Select all
filebot -rename "H:/TV/.Unsorted/" --format "{norm = {it.replaceAll(/[`´‘’ʻ]/, "'").replace("?", "!").replace('"', "''").replace(':', " -").replace('/',' - ').replacePart(' [Part $1]')};''}{file.path[0]}:\TV\{csv('H:/TV/Names.csv').get(n.replaceTrailingBrackets("").replace(':', " -")) ?: n.replaceTrailingBrackets("").replace(':', " -")}\{'Season '+s}{((file.path[0..5]+norm(n)+'/Season '+s) as File).exists() ? '' : ' '+[vf.match(/720[pP]|1080[pP]/)]}\{episode.special ? 'Special '+special.pad(2) : 'Episode '+es*.pad(2).join('-')} - {episode.special ? norm(t) : norm(episode.title.toString())}{' [' + fn.matchAll(/extended|unaired.pilot|leaked.pilot|unaired.episode|unaired|unsold.pilot/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ']'}{((file.path[0..5]+norm(n)+'/Season '+s) as File).exists() ? ' '+[vf.match(/720[pP]|1080[pP]/)] : ''}{' '+[vc.match(/HEVC|x265/)]}"
3. How do I create a script? And do I have to do anything to format to make it work in a script?
4. I read and believe it's not possible but, can use CLI/Scripts to rename "Generic Files"?
I'm sorry if these are dumb questions, please and thanks for any help.