[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] ftp a .tar.gz as ascii or ftp?



It seems that everyone answered that you should transfer the *.tar.gz file as a
binary file - this is correct.  I thought that you may need some help with the
telnet commands to ungzip and then untar.  Here is a excerpt from my personal
notes:

telnet as root

1) Change a *.tar.gz to a *.tar - That is, must unzip it on the server.  This
will change it from a *.tar.gz to a *.tar.
    The example command is:   gunzip filename.tar.gz

2) Untar a Directory or files - A *.tar file is a combined list of files usually
from a directory.  The extensions ?-xvpf? expands the files with their original
privileges if it was created with the correct options.
    The example command is:   tar -xvpf filename.tar

3) Tar a directory with its extensions and structure.
    The example command is:   tar -cvf newfilename.tar directoryname


I hope this helps.
--
John D. Gorena