Update InfoZip list extractor

This commit is contained in:
Bryan Ashby 2019-08-22 21:48:39 -06:00
parent 4c0b629016
commit 1e08810188
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 2 additions and 1 deletions

View File

@ -683,7 +683,8 @@ function getDefaultConfig() {
list : { list : {
cmd : 'unzip', cmd : 'unzip',
args : [ '-l', '{archivePath}' ], args : [ '-l', '{archivePath}' ],
entryMatch : '^\\s*([0-9]+)\\s+[0-9]{4}-[0-9]{2}-[0-9]{2}\\s+[0-9]{2}:[0-9]{2}\\s+([^\\r\\n]+)$', // Annoyingly, dates can be in YYYY-MM-DD or MM-DD-YYYY format
entryMatch : '^\\s*([0-9]+)\\s+[0-9]{2,4}-[0-9]{2}-[0-9]{2,4}\\s+[0-9]{2}:[0-9]{2}\\s+([^\\r\\n]+)$',
}, },
extract : { extract : {
cmd : 'unzip', cmd : 'unzip',