Richard Adams wrote:
> 
> The above is correct, however just tellig someone to untar the file
> without telling him or even warn him what he is doing is going a
> little to far.
> 
> tar files can will and have done damage to my system when i was a
> green newbie many moons ago. I _still_ do the following before i
> untar any file other than a linux kernel source tree.
> 
> zless <file>.tar,gz all i want to see is what is in the top left hand
> corner, which will tell me if the tar file creates its own directory
> or just deposites all its files in the presant working directory, and
> yes there still are still idiots who create archives like that, so be
> warned.
> 
> The best advice here is;
> mkdir /tmp/newfile
> cp file.tar.gz /tmp/newfile
> tar xzf file.tar.gz


Thanks Richard, I hadn't been bit by this one. Now maybe
I can sidestep one of the pit traps. :-)

Bob J.

Reply via email to