PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, December 11, 2022

[FIXED] What is a specific command for zipping and compressing multiple files with lzma2 on linux command line?

 December 11, 2022     command, compression, linux, lzma, syntax     No comments   

Issue

Can you give an example for compressing files with lzma2? I searched on Google but I didn't find any examples that I could understand.


Solution

You can also use the lzma binary or the xz with the --format=lzma argument.,

If you want to compress a set of files, I would recommend using tar to glue them together and then lzma, as for example:

$ tar --lzma -cf foo.tar.lzma file1 file2 ...
$ file foo.tar.lzma
foo.tar.lzma: LZMA compressed data, streamed


Answered By - Breno Leitão
Answer Checked By - Pedro (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing