Additional work with archivers

This commit is contained in:
Bryan Ashby 2016-10-02 22:21:37 -06:00
parent ec716fdf2c
commit 9593da5626
3 changed files with 62 additions and 15 deletions

View file

@ -223,12 +223,11 @@ function getDefaultConfig() {
cmd : '7z',
args : [ 'e', '-o{extractPath}', '{archivePath}' ]
},
/*
list : {
cmd : '7z',
args : [ 'l', '{archivePath}' ],
match : '...someregex...'
},*/
cmd : '7z',
args : [ 'l', '{archivePath}' ],
entryMatch : '^[0-9]{4}-[0-9]{2}-[0-9]{2}\\s[0-9]{2}:[0-9]{2}:[0-9]{2}\\s[A-Za-z\\.]{5}\\s+([0-9]+)\\s+[0-9]+\\s+([^\\n]+)$',
},
extract : {
cmd : '7z',
args : [ 'x', '-o{extractPath}', '{archivePath}', '{fileList}' ],