1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-14 21:35:03 -05:00
filebot/website/scripts/extract.groovy

11 lines
211 B
Groovy
Raw Normal View History

// filebot -script fn:extract <folder>
/*
* Auto-extract all zip and rar archives.
*/
args.getFiles{ it.isArchive() }.each {
def output = extract(file:it)
output.each{ println "Extracted: " + it.path }
}