2011-04-04 linux tar gzip bzip2
tar
Создать архив без сжатия (собрать файлы в один файл)
tar -cf :arh-file: :file1: :file2:
tar -xf :arh-file:
gzip :file:
gzip -d :arh-file:
или
gunzip :arh-file:
tar -czf :arh-file: :file1: :file2:
tar -xzf :arh-file:
bzip2 :file:
bzip2 -d :file:
tar -cjf :arh-file: :file1: :file2:
tar -xjf :arh-file:
tar -cvpzf file.tar.gz --one-file-system input_file
tar -cvpjf file.tar.bz2 --one-file-system input_file
sudo tar -xvpzf file.tar.gz -C /media/path --numeric-owner