Search found 1 match

by SyAccursed
30 Jan 2013, 19:21
Forum: Episode / Movie Naming Scheme
Topic: How about sharing our format expressions?
Replies: 70
Views: 268854

Forcing Show Names via CSV file

Quite new to this tool but it is rather awesome so I thought I'd share this after working it out! It's kind of an 'everyman' code to move and rename files into a fairly simplistic format. E:\Videos\{def a; new File('E:/Videos/names.csv').splitEachLine(';'){ if (n == it[0]) a = it[1]}; a ?: n.upperIn...