1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04: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 }