Page 1 of 1

Question about the extract

Posted: 31 Jan 2013, 08:22
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

Re: Question about the extract

Posted: 31 Jan 2013, 08:29
by rednoah

Code: Select all

forceExtractAll: false
EDIT: Looks like forceExtractAll:false is broken with the current 3.3 release. Fixed it with r1452.