Question about the extract
Posted: 31 Jan 2013, 08:22
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:
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
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)
Regards,
Benjamin