View Full Version : how do I unzip a tar file with telnet
julieA
04-29-1999, 02:15 AM
Ok. I used ftp to upload my calendar.tar into my cgi bin. I even managed to log on with telnet (i think). But I'm lost at the prompt. I typed help and there is no "is" command to find my file (as I saw suggested in a search of former postings here). I can't even find my file to attempt to unzip it. Anyone have ANY suggestions? After I unzip it I am supposed to set permissions on these files. I saw a posting on doing that with ws-ftp but the installation instructions say these permissions may be set by default so maybe I just need to wait and see if they work after they are unzipped. Can anyone help me unzip them?
The calendar script I am trying to work with is at
http://mkruse.netexpress.net/scripts/calendar/download/
:([nbsp][nbsp]Sad at my lack of knowledge but looking forward to learning,
julieA
------------------
mother of eight, wife of one...
You may want to visit http://www.aota.net/cgi-bin/FAQ/fom and click the telnet link for a whole bunch of basic commands... which include commands on to change directories and view what's within them...
Assuming you are in the same directory as the file, at your unix prompt type: tar xvf calaendar.tar
x stands for eXtract
v stands for Verbose (see the files on the screen)
the f stands for Files
Hope this helps
Deb
Jacob Stetser
04-29-1999, 10:24 AM
Quick decompression tutorial....
If a file ends in .zip (for example, file.zip)
use unzip file.zip
If a file ends in .gz (for example, file.gz)
use gzip -d file.gz
If a file ends in .tar (e.g., file.tar)
use tar -xvf file.tar
If a file ends in .tar.gz (e.g. file.tar.gz)
use gzip -d file.tar.gz
<font color=#FF0000>and then</font>
tar -xvf file.tar
I hope that all helps!
------------------
http://icongarden.com/
icongarden: making good ideas grow.
[This message has been edited by Jacob Stetser (edited 04-29-99)]
julieA
04-29-1999, 11:17 AM
You guys are the greatest. I'm going to try again later today when I can concentrate. (That's hard to do with the children milling around.) I'll let you know how it goes.
Thank YOU! :)
------------------
mother of eight, wife of one...
hawkman
06-29-1999, 06:03 PM
If I've got a .tgz file then?
Terra
06-29-1999, 11:18 PM
GNU tar sports internal decompression routines:
$tar -xvzf file.tgz
or
$tar -xvzf file.tar.gz
z==use (de)compression routines
--
Terra
--Welcome to the GNU generation--
FutureQuest
Charles Capps
06-30-1999, 03:31 AM
While we're on the topic of compression and stuff...[nbsp][nbsp]What is a .bz file?[nbsp][nbsp]It's SOME sort of archive, but I couldn't decompress it....
------------------
"Okay, so I'm not "SANE" so to speak, but uh... I'm the lovable kind of psycho"
http://solareclipse.net/
Terra
06-30-1999, 04:44 AM
.bz is a new compression scheme that crunches stuff tighter than gzip or zip at the expense of time and CPU...
It uses the Burrows-Wheeler block-sorting text compression algorithm and Huffman coding, instead of the LZ77/LZ78 family of compressors (pkzip/gzip/etc...)...
.bz and .bz2 uses bzip2
--
Terra
--Welcome to Good Burger, home of the good burger - may I take your order?--
FutureQuest
hawkman
06-30-1999, 03:34 PM
Hi!
Now I have tried what Terra suggested, but it doesn't work.
I've tried whith different versions of the scriptfile I'm trying to decompress, but It doesn't work. Is it possible that two different files are corrupt? The file are located in www.webbolaget.com/mailman (http://www.webbolaget.com/mailman). I would appreciate if someone could help me out!
Charles Capps
06-30-1999, 05:31 PM
Oh, that's all I need, another compression program to learn.[nbsp][nbsp]*L*
Hawkman: No errors?
------------------
"Okay, so I'm not "SANE" so to speak, but uh... I'm the lovable kind of psycho"
http://solareclipse.net/
Terra
06-30-1999, 07:52 PM
I checked those 2 .tgz files and they are both corrupt...
Try to re-download those files - make sure you transfer them in BINARY mode and *not* ASCII...
--
Terra
--I was wondering how long it would take for corruption to hit the internet--
FutureQuest
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.