Skip to content
Advertisement

Tag: tar

Why does tar -c command remove leading `/’ from member names

Looking to find the practical reasons the command tar -c /filea > /fileb gives the following output: tar:Removing_leading / from member names. I have researched it quite a bit but only come across very vague reasons such as protects against some sort of attack etc. The majority just give explanations on a workaround should you want it. I do not

How tar xvfz works in cygwin?

I tried tar with xvfz and -xvfc both didn’t work in Cygwin on Windows. Here cmd tar with ‘-‘ Question : 1 . How does tar works with – or without _ ? Please suggest to execute tar -xvfz sshpass-1.0.5.tar.gz. Answer tar has 3 types of syntax (according to this ): long options (–file) short options (-f) old options (f)

Linux tar command ignore files which permission denied

I encountered an issue when I tar a directory. There is a backup file in one of the sub directory created by another user and it doesn’t allow other user to read. so my tar command was failed. My question is: Can I ignore this file (actually this file is not important) and tar the rest of the files/directories? Answer

can’t extract tar.gz file

I used backup.sh : in /home/sebastien/save i have: i’m trying to extract this file with : but Nothing is happening /home/sebastien/tmp is empty! Answer Try removing that other command which blocks the process.

Repack tar.gz to tar and exclude some files

I have a big backup.tar.gz file (260 GB) and about 160 GB of free storage space. Backup file contains three big dumb file (old backups, about 190 GB), which is not needed. So I want to untar backup.tar.gz to pipe excluding some files and tar it back without gzip. I have a text file, which contain names of dumb files.

Linux: Stopping tar command?

Uh I badly messed up today, I was going to backup my whole website folder (public_html) and didn’t realize that it was 24GB, now it’s eating up disk usage and I have no idea how to stop it. The command I used was: I deleted the existing backup.tar.gz from the directory but the command is still running and is still

popen (“tar xvf tarball.tar”) works in debug but not release builds

I’m working on a C++ program for Ubuntu that downloads a tar archive using curl_easy_perform, and after the archive is downloaded into /tmp I use popen to execute the appropriate tar command line. When I run my program’s debug build then popen(“tar xvf /tmp/example.tar -C /tmp/existingdir”) works, but when I run this command in release builds the popen call always

Advertisement