* added copy-rename example script
This commit is contained in:
parent
6ac012ad5d
commit
5eca0a4e8e
|
@ -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()
|
Loading…
Reference in New Issue