1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 00:38:52 -05:00

* added copy-rename example script

This commit is contained in:
Reinhard Pointner 2012-02-23 08:45:41 +00:00
parent 6ac012ad5d
commit 5eca0a4e8e

View File

@ -0,0 +1,12 @@
// filebot -script "http://filebot.sf.net/scripts/cpmv.groovy" <folder>
// copy files
def temp = args*.copyTo("E:/filebot-temp")
// sort copies into the given file structure
temp.eachMediaFolder {
rename(folder:it, format:'E:/TV Shows/{n}/{n} - {s00e00} - {t}', db:'thetvdb')
}
// delete temporary folders
temp*.deleteDir()