tar_usage
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
tar_usage [2020/12/04 15:51] – raju | tar_usage [2023/01/26 21:22] – [file extensions] raju | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== count number of lines in a txz file ==== | ||
+ | < | ||
+ | xz -cd foo.txz | wc -l | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | for i in *.txz; do echo $i; xz -cd $i | wc; done | ||
+ | </ | ||
+ | |||
+ | ==== file extensions ==== | ||
+ | * tar gzip compressed - .tgz | ||
+ | * tar bzip2 compressed - .tar.bz2, .tar.bz, .tbz | ||
+ | * tar xz compressed - .txz | ||
+ | |||
+ | ==== sample commands ==== | ||
+ | < | ||
+ | tar cJvf foo.txz foo | ||
+ | </ | ||
+ | |||
==== 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