mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 16:58:51 -05:00
* added copy-rename example script
This commit is contained in:
parent
6ac012ad5d
commit
5eca0a4e8e
12
website/scripts/cpmv.groovy
Normal file
12
website/scripts/cpmv.groovy
Normal 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()
|
Loading…
Reference in New Issue
Block a user