Revision [29113]

This is an old revision of tar made by coolpup on 2013-10-07 03:07:35.


HomePage > Components and HowTos > FileTypes


file archiving

  • verify the installed version via the command-line interface:
    tar --version

  • filename extension: .tar
  • internet media type: application/x-tar
  • container types: gzip, bzip2, lzip, lzma, xz, lzop, compress

  • extracting tar archives (tarballs):
    tar xfv file.EXTENSION
    (tar will, by default, extract the file according to its extension)

  • creating a tar archive (tarball) without compression:
    tar cfv archivename.tar [dir...]

  • creating a tar archive (tarball) with xz compression:
    tar cfJv archivename.txz [dir...]

  • listing (viewing) the contents of a .txz or .tar.xz file without extracting:
    tar tf archivename.tar.xz

Valid XHTML :: Valid CSS: :: Powered by WikkaWiki