迷茫2017-04-17 14:29:22
Try this?
targz().extract('/bkp/backup.tar.gz', '/home/myuser', function(err){
if(err)
console.log('Something is wrong ', err.stack);
console.log('Job done!');
});
Watch tar.gz
阿神2017-04-17 14:29:22
Use lzip to decompress under Linux, lzip -d file.lz. . Essentially, it is a compressed file. You should use common decompression software under Windows to decompress it.