User Tools

Site Tools


tar_usage

This is an old revision of the document!


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
tar_usage.1674768147.txt.gz · Last modified: 2023/01/26 21:22 by raju