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
Next revision
Previous revision
Last revisionBoth sides next revision
tar_usage [2020/12/04 15:51] rajutar_usage [2023/01/26 21:22] – [file extensions] raju
Line 1: Line 1:
 +==== count number of lines in a txz file ====
 +<code>
 +xz -cd foo.txz | wc -l
 +</code>
 +
 +<code>
 +for i in *.txz; do echo $i; xz -cd $i | wc; done
 +</code>
 +
 +==== file extensions ====
 +  * tar gzip compressed - .tgz
 +  * tar bzip2 compressed - .tar.bz2, .tar.bz, .tbz
 +  * tar xz compressed - .txz
 +
 +==== sample commands ====
 +<code>
 +tar cJvf foo.txz foo
 +</code>
 +
 ==== internal links ==== ==== internal links ====
   * [[Relative file names in a tar archive]]   * [[Relative file names in a tar archive]]
 +
  
  
tar_usage.txt · Last modified: 2023/01/26 21:24 by raju