![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fucking Banned
Join Date: Feb 2001
Posts: 1,104
|
Unzipping to a different folder?
In Unix, whats the command to unzip to a different folder from the one the zip file is in? So if I have a zip file file.zip in the current folder and need to unzip it to /home/users/folder.com/html/files what command would I type in?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: May 2002
Location: New York City
Posts: 403
|
cd (directory you want files to go to)
(command to unzip) (full path to file) eg if it is a file test.tar in /home/poopmonster/tars/ and you want it in /home/poopmonster/poops/ you would do: cd /home/poopmoster/poops/ tar -xvf /home/poopmonster/tars/test.tar |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jan 2002
Location: Toronto, ON, Canada
Posts: 1,081
|
go to the dir with the .zip file
then type unzip file.zip -d /home/users/folder.com/html/files/ the server must have unzip installed. if not, you can probably get the binary somewhere off the net. (just search for it on google)
__________________
<a href="http://www2.famoushost.com/home.php" target="_blank"><b><FONT COLOR="FFFF00">www.FamousHost.com</font></b></a><br>Free Hosting With No Headers, Real FTP, <u>Get listed on the biggest TGP's with us!</u> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
So Fucking Banned
Join Date: Feb 2001
Posts: 1,104
|
![]() Thanks!
|
![]() |
![]() ![]() ![]() ![]() ![]() |