Show contents of the package:root# tar -tzf archiv.tar.gz
Extract files here:root# tar -xzf archiv.tar.gz
Extract only some file by mask:root# tar -xzf archiv.tar.gz "*.log"
Extract to a directory:root# tar -xzf archiv.tar.gz -C dir
Show contents of the bzip2 package:tar -tjf archiv.tar.bz2
Extract files here:root# tar -xjf archiv.tar.gz
Рубрики