Open Messilimeng opened 5 years ago
I have the same problem
let output = outputName + '.tar.zip';
console.log(typeof inputName, typeof output);
fstream.Reader({
'path': inputName,
'type': 'Directory'
})
.pipe(new tar.Pack())
.pipe(zlib.Gzip())
.pipe(fstream.Writer({
'path': output
}));