9/12/2023 0 Comments Tar xz createWhile using tar and gzip works well on Unix and Linux systems, you might have difficulty with MS Windows. You can choose the one that is most suitable for your needs. You can use this option with both -c or -x option, provided the file has the correct and well known extension.Įach of the above compression algorithms have its own advantages and disadvantages. tar does provide an option called –auto-compress or -a that will use the suffix or the file extension to determine the compression program that was used or should be used. When extracting the compressed archive, you will need to use the appropriate option to uncompress as well. -z or –gzip: the gzip is used for compression.The file is usually created with an extension. -Z or –compress: the archive is filtered through compress.This usually results in a file with extension. -j or –bzip2: Use bzip2 for compression.Some of the other popular compression alternatives are: The tar command can be used with various compression algorithmns in lieu to the gzip mentioned above. You have to specify the –extract or -x option in lieu of the -c in the above example, to specify that you want to extract the contents. Unarchiving or extracting the compressed archive again can be done by the tar command as well. -z or –gzip: filter the archive through gzip for compression.-v or –verbose: show activity and progress while creating archive.-f : use the archive file name as specified in the arguments.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |