Last active
October 17, 2017 05:22
-
-
Save imadi/14f7ea748f75722374616644564e8ca5 to your computer and use it in GitHub Desktop.
Unzip only specific files without directories using AntBuilder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def builder = new AntBuilder() | |
| builder.unzip(src: srcPath, dest: destPath) { | |
| mapper(type: "flatten") | |
| patternset() { | |
| include(name: "**/*.mp3") | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment