mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-17 23:05:03 -05:00
11 lines
247 B
Groovy
11 lines
247 B
Groovy
|
// filebot -script "http://filebot.sf.net/scripts/extract.groovy" <folder>
|
||
|
|
||
|
/*
|
||
|
* Auto-extract all zip and rar archives.
|
||
|
*/
|
||
|
args.getFiles{ it.isArchive() }.each {
|
||
|
def output = extract(file:it)
|
||
|
|
||
|
output.each{ println "Extracted: " + it.path }
|
||
|
}
|