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:
parent
3f445b99fe
commit
69f13ec0b7
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user