User Tools

Site Tools


tar_usage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tar_usage [2023/01/26 21:22] – [file extensions] rajutar_usage [2023/01/26 21:24] (current) – [sample commands] raju
Line 17: Line 17:
 tar cJvf foo.txz foo tar cJvf foo.txz foo
 </code> </code>
 +
 +==== convert tgz to txz ====
 +<code>
 +cat foo.tgz | gzip -cd | xz > foo.txz
 +</code>
 +
 +To do the other way around
 +<code>
 +cat foo.txz | xz -cd | gzip > foo.tgz
 +</code>
 +
 +Ref:- http://lowfatdaemon.blogspot.com/2012/01/how-to-repackage-txz-to-tgz-slackware.html
 +
 +tags | change compression algorithm of a tar archive
  
 ==== internal links ==== ==== internal links ====
tar_usage.1674768147.txt.gz · Last modified: 2023/01/26 21:22 by raju