If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > zip file to Unix

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-07-08, 02:59
P_db_user P_db_user is offline
Registered User
 
Join Date: Jul 2008
Posts: 14
zip file to Unix

Hi Experts,

I have a zip file in windows. I want to open the file in Unix.

Can you please let me know the steps I need to follow.

Thanks in advance for your inputs.

Regards,
P_db_user
Reply With Quote
  #2 (permalink)  
Old 08-07-08, 08:35
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Transfer the file to the Unix system (in binary) and then unzip it.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #3 (permalink)  
Old 08-08-08, 02:07
P_db_user P_db_user is offline
Registered User
 
Join Date: Jul 2008
Posts: 14
Stolze,

transferring the file to unix using ftp in binary mode is fine. But unzip in unix I am not able to understand. Could you please let me know.

Thanks and Regards,
P_db_user
Reply With Quote
  #4 (permalink)  
Old 08-08-08, 10:34
n_i n_i is online now
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,452
unzip on Unix is just like unzip on Windows, only slashes in the file path are slanted the other way.
Reply With Quote
  #5 (permalink)  
Old 08-08-08, 13:10
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
If you don't have an "unzip" utility, just use "zip" with option -e (if I remember correctly).

Regarding the slashes, it is a good habit to use forward slashes also on Windows because it avoids portability issues in that realm.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On