Sorting [a-z] with 's
Posted: 21 Apr 2018, 18:09
My directory structure is as follows for movies: #'s, A's, B's... How do I add the 's to the sort so movies go into the proper folder instead of the A, B, C... The #'s is working correctly. Below is my command line script.
Code: Select all
filebot "/home/jlasalle/Videos/incomplete" -script fn:amc --output "/home/jlasalle/Videos/" --action duplicate --conflict skip -non-strict --log-file amc.log --def movieFormat="/home/jlasalle/Videos/Movie/{n =~ /^(?i)[a-z]/ ? n [0] : '#\'s'}/{n.replaceFirst(/^(?i)(The)\s(.+)/, /$2, $1/)} [{y}]{subt} {source}/{n} {[y]} {source}" --def seriesFormat="/home/jlasalle/Videos/TV Shows/{n}/Season {s}/{n.replaceFirst(/^(?i)(The)\s(.+)/, /$2, $1/)} {sxe} - {t} {subt}" --def excludeList=amc.excludes unsorted=y music=y artwork=y "ut_dir=%F" "ut_kind=multi" "ut_title=%N" "ut_label=%L"