Page 1 of 1
Copying files instead of moving them
Posted: 23 Feb 2012, 02:29
by dewy
Hi guys. I've realised my previous automation method was not allowing much seeding of files to happen. So i'm curious to know if there is way to have filebot copy the files before renaming them and moving them away, leaving the files to seed and then I can delete the originals when finished seeding?
Re: Copying files instead of moving them
Posted: 23 Feb 2012, 05:14
by rednoah
Not really, but it's a good point. I'll add an easy way to do that in scripting.
With the new beta you can script things like that:
Code: Select all
def dest = args[0].copyTo("D:/filebot-temp/")
println "Rename $dest"
rename(folder:dest, format:"D:/estination/{episode}")
get the jar here:
http://sourceforge.net/projects/filebot ... ebot/HEAD/
Re: Copying files instead of moving them
Posted: 23 Feb 2012, 08:50
by rednoah
Added a sample script for that here (requires r916):
http://filebot.sf.net/scripts/cpmv.groovy