in reply to Has foo.tar.bz2 been extracted to $dirrectory?
The '-t' or '--test' flags of bzip2 check the integrity of the compressed file. If there is an MD5 checksum, you can generate and compare that as well. I'm assuming GNU tar, which you may be using(?), will do this with the 'j' flag, though you may want to test for this.
- foo.tar.bz2 has been untared completely
Some tar's will remain silent and appear to untar files on filesystems that run out of space (and create zero length files to boot). Gnu's tar has a '--compare' option which I've never used but might be worth a try. If you aren't using Gnu tar, you'll probably need to examine the contents of the archive yourself (e.g. tar -tv).
bluto
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Has foo.tar.bz2 been extracted to $dirrectory?
by Aristotle (Chancellor) on Nov 02, 2002 at 07:22 UTC | |
Re: Re: Has foo.tar.bz2 been extracted to $dirrectory?
by Spida (Acolyte) on Nov 02, 2002 at 11:43 UTC |