Running FileBot from the console, Groovy scripting, shell scripts, etc
-
Kapoue
- Posts: 11
- Joined: 18 Jan 2013, 15:48
Post
by Kapoue »
Hello,
I try to use the extract command in a .groovy script to only extract one of the files into the zip file. I do this:
Code: Select all
extract(file: new File(sub.archivename), conflict: 'override', filter: { it.isSubtitle() && it.path.endsWith(backFilepath) }, forceExtractAll: true)
And I have check only one file match this criteria but he is still extract the whole archive. Is it possible to only extract the interesting file?
Regards,
Benjamin
-
rednoah
- The Source
- Posts: 23935
- Joined: 16 Nov 2011, 08:59
- Location: Taipei
-
Contact:
Post
by rednoah »
EDIT: Looks like
forceExtractAll:false is broken with the current 3.3 release. Fixed it with r1452.