search

Home  >  Q&A  >  body text

node.js - tar.lz文件怎么解压

怎么解压tar.lz,好长时间了,哪位大神知道?

阿神阿神2785 days ago608

reply all(3)I'll reply

  • 迷茫

    迷茫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

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 14:29:22

    7-zip seems to work

    reply
    0
  • 阿神

    阿神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.

    reply
    0
  • Cancelreply