Question about the extract

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Kapoue
Posts: 11
Joined: 18 Jan 2013, 15:48

Question about the extract

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
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Question about the extract

Post by rednoah »

Code: Select all

forceExtractAll: false
EDIT: Looks like forceExtractAll:false is broken with the current 3.3 release. Fixed it with r1452.
:idea: Please read the FAQ and How to Request Help.
Post Reply