Tagged Questions
1
vote
6answers
89 views
How to avoid overwriting existing files while using tar command?
The tar command just overwrote my file an hour ago while I was trying to make a tar to backup it.
I ran
tar zcvf foo.tex foo.bib
and after that my tex source file lost. What's worse, this is the ...
1
vote
2answers
61 views
Why is my tar file bigger than its contents?
I have a tar file that I have recreated from two files - xaa, xab (the results of using the split command). The tar file is the size I expect it to be but when I extract it the folder I get is a ...
6
votes
1answer
2k views
How to check/test .tar.bz archives?
I've been using tar with its "--use-compress-prog=pbzip2" function to archive my files then compress them with pbzip2 to get an "*.tar.bz" archive.
Afterwards I checked the resulting file with ...
1
vote
2answers
2k views
How to recover a corrupted “tar.gz” file
I suddenly needed to recover an old tar.gz file, but as soon as I execute so:
tar -zxvf filename.tar.gz
I get this:
gzip: stdin: invalid compressed data--format violated
tar: Child returned ...