Top "Tar" questions

An archiving program for storing and retrieving files as a collection with support for data compression.

How to compare the content of a tarball with a folder

How can I compare a tar file (already compressed) of the original folder with the original folder? First I created …

diff compare tar
'find' with 'xargs' and 'tar'

I have the following I want to do: find . -maxdepth 6 \( -name \*.tar.gz -o -name bediskmodel -o -name src -o …

find tar xargs
how to make tar exclude hidden directories

When I want to exclude directories when taring, I typically use syntax like this: tar -zcf /backup/backup.tar.gz …

hidden tar
Tar: create archive exclude directories except one

I have some directories with some files dir_archive/somedir1 dir_archive/somedir2 dir_archive/somedir3 dir_archive/mydir dir_…

unix gzip archive tar
How to compress a symbolic link?

With tar, I tried to compress a repository in a chroot environment with ssh, but it failed as it just …

linux command-line tar
How to use tar with lz4?

How to use tar and filter the archive through LZ4? Or any available tools? It looks cumbersome to use tar …

compression tar lz4
Golang read from pipe reads tons of data

I'm trying to read an archive that's being tarred, streaming, to stdin, but I'm somehow reading far more data in …

go stdin tar
Python - mechanism to identify compressed file type and uncompress

A compressed file can be classified into below logical groups a. The operating system which you are working on (*ix, …

python compression zip tar rar
How to construct a TarFile object in memory from byte buffer in Python 3?

Is it possible to create a TarFile object in memory using a buffer containing the tar data without having to …

python file python-3.x tar tarfile
HP-UX - How can I read a text file from tar archive without extracting it?

I have a tar archive which contains several text files. I would like to write a script to display (stdout) …

bash text tar cat hp-ux