2012-07-28 21:17:29 +00:00
|
|
|
// filebot -script fn:extract <folder>
|
2012-02-27 09:56:15 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Auto-extract all zip and rar archives.
|
|
|
|
*/
|
|
|
|
args.getFiles{ it.isArchive() }.each {
|
|
|
|
def output = extract(file:it)
|
|
|
|
|
|
|
|
output.each{ println "Extracted: " + it.path }
|
|
|
|
}
|