Top "Tar" questions

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

How to fix 'tar: Failed to set default locale' error?

I'm trying to install a package into R, something I swore on my blood never to do, yet here I …

r macos locale tar
How to archive and extract a .tar.gz file

A simple question. On x86 Solaris 10, I tried the following to compress a folder(Data) of files. tar -cvf /path/…

gzip tar solaris-10
What's a good tar utility for Windows?

I use Cygwin regularly, but I have a need these days to extract tar.gz and tar.bz2 files on …

windows gzip tar
How can I untar a tar.bz file in unix?

I've found tons of pages saying how to untar tar.bz2 files, but how would one untar a tar.bz …

linux bash unix extract tar
How do I extract files without folder structure using tar

I have a tar.gz-file with the following structure: folder1/img.gif folder2/img2.gif folder3/img3.gif I want …

linux unix tar
reading tar file contents without untarring it, in python script

I have a tar file which has number of files within it. I need to write a python script which …

python tar
Listing the content of a tar file or a directory only down to some level

I wonder how to list the content of a tar file only down to some level? I understand tar tvf …

bash tar ls depth
How to tar a set of files?

I am new to the tar command. I have many files in a directory: 1_1_1.txt, 1_1_2.txt, 2_1_1.txt, 2_1_2.txt.. I know …

linux tar
How can I decompress an archive file having tar.zst?

I do not know how I can decompress a file having tar.zst extension and even though I did look …

zip archive tar compression
How do I exclude absolute paths for tar?

I am running a PHP script that gets me the absolute paths of files I want to tar up. This …

linux bash tar