
     
  |
|
   
|
|
|
How do I untar or uncompress a file?
|
|
| |
Answer
|
This option will allow you to upload a binary tarred (compressed) file. This is how to decompress the file onto your Virtual Server using the Control Panel.
- Uploaded the tarred file to the server.
- Create a directory for the expanded files to go into.
- From the control panel, click the "Untar a file" option from the "Manage Advanced Options" menu.
- Enter the directory path where you have placed the tar file, including the file name. This should be something like this:
/www/htdocs/images.tgz
- Enter the directory path you have created for the file to be expanded into. This should be something like this:
/www/htdocs/images
- Select the extention of your file.
.Z
.tar
.tgz, .tar.gz, .tar.tgz. or .gz
- Click the Untar button to uncompress the file. You may need to change the permissions on our servers to run the file.
.zip file will not work with this program.
If your log files have been compressed you will not be able to use this to untar them in the /www/logs directory. Also, you will not be able to untar data into the /bin,
/usr/bin, /lib, or /usr/lib directories.
|
|
|
| Related Links
|
If you wish to tar a file via telnet, you can do so using the following command. At the telnet prompt, type the following (if you are in the
/vs?/vs?/username/www/logs directory, and you are tarring the access_log file):
tar -czvpf newtarball.tgz access_log
This is a brief explanation of what the commands does:
The command is tar, then the flags to ensure proper configurations, then the new file you wish to be created, then the file that you wish to have compressed.
Brower Based Man Pages are located at http://www.eng.iastate.edu/~hindman/common/UNIX/UNIXutil.html
|
Back to Index
|
|
|
The Computer
House Technology Center, Inc.
740 South Sixth Avenue
Galloway, New Jersey 08205
(800) 372-6834 --- FAX: (609) 748-9776
Copyright © 2001
Computer House, Inc. All Rights Reserved. |
|