* More file area utility methods/etc.

* Start adding oputil file-area --scan <areaTag> stuff
* New new ArchiveUtil.getInstance()
This commit is contained in:
Bryan Ashby 2016-10-02 21:40:37 -06:00
parent 35e7610670
commit ec716fdf2c
6 changed files with 268 additions and 24 deletions

View file

@ -215,10 +215,24 @@ function getDefaultConfig() {
zip : {
sig : '504b0304',
offset : 0,
compressCmd : '7z',
compressArgs : [ 'a', '-tzip', '{archivePath}', '{fileList}' ],
decompressCmd : '7z',
decompressArgs : [ 'e', '-o{extractPath}', '{archivePath}' ]
compress : {
cmd : '7z',
args : [ 'a', '-tzip', '{archivePath}', '{fileList}' ],
},
decompress : {
cmd : '7z',
args : [ 'e', '-o{extractPath}', '{archivePath}' ]
},
/*
list : {
cmd : '7z',
args : [ 'l', '{archivePath}' ],
match : '...someregex...'
},*/
extract : {
cmd : '7z',
args : [ 'x', '-o{extractPath}', '{archivePath}', '{fileList}' ],
},
}
},