Click to See Complete Forum and Search --> : tar


NathanTwist
01-30-2002, 05:22 PM
hey again. i was just trying to untar an archive i downloaded, Bashscriptingguide.tar, but when i do itll tell me that it "doesnt look like a .tar file" , and that its checking the next header. then from their it goes downhill, and needless to say it wont untar the file. this has been happeneing a lot lately, any ideas? ive been getting around it with X, but i jsut assume use the command line if i can. thanks again

mdwatts
01-30-2002, 06:33 PM
What options are you using with tar?

tar xvf filename.tar

tar zxvf filename.tar.gz

Use 'file' to check the filetype.

file <filename.tar>

NathanTwist
01-30-2002, 07:00 PM
just using
tar -xvf
its wierd, it was working for me as usualy untill just a few days ago

mdwatts
01-30-2002, 07:03 PM
What did

file Bashscriptingguide.tar

tell you?