1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-13 12:55:00 -05:00

Generate index file

This commit is contained in:
Reinhard Pointner 2019-05-04 22:54:36 +07:00
parent 3f445b99fe
commit 69f13ec0b7

View File

@ -33,7 +33,7 @@ void createIndexFile(db) {
def index = indexFile.dir.listFiles{ it.image }.collect{ it.nameWithoutExtension as int }.toSorted()
index.join('\n').saveAs(indexFile)
execute '/usr/local/bin/xz', indexFile, '--force', '--keep'
execute 'xz', indexFile, '--force', '--keep'
println "Index: ${index.size()}"
indexFile.dir.listFiles{ !it.image }.each{ ls it }