xz file compression and decompression



xz file compression and decompression



Purpose



Compress or decompress FILEs in the .xz format.


Usage:






Options:




















Description:



xz is a general-purpose data compression tool with command line syntax similar to gzip and bzip2.


 
To compress a file





 
The native file format is the .xz format.

 









After successfully compressing or decompressing the file, xz copies the owner, group, permissions, access time, and modification time from the source file to the target file.

 

Use long listing (-l) to list statistics about compressed file

 





 

If copying the group fails, the permissions are modified so that the target file doesn't become accessible to users who didn't have permission to access the

source file.


 
To decompress a file. Simply pass -d option.





 
All the commands are similar to gzip and bzip2.

Comments