I want to extract to the root folder that my RAR files are also located. What do I change the output to? I've tried all sorts of stuff and I'm not having any luck!
def extractFiles = extract(file: f, output: new File(f.dir.name), conflict: 'skip', filter: { it.isArchive() || it.isVideo() || it.isSubtitle() || (music && it.isAudio()) }, forceExtractAll: true) ?: []
Extract question
Re: Extract question
f.parent
how come i always figure it out AFTER i post on the forums?
how come i always figure it out AFTER i post on the forums?
Re: Extract question
Just check the Java/Groovy API docs. 
f is a File object, so => http://docs.oracle.com/javase/7/docs/ap ... /File.html

f is a File object, so => http://docs.oracle.com/javase/7/docs/ap ... /File.html