UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 4th, 2005, 10:17 AM
unix101 unix101 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 4 unix101 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
how to use unzipsfx to extract files to desired directory?

Hi guys,
I've been searching and searching and all the web gives me is the man page for unzipsfx. How do i use the '-d' command to have my self-extract EXE file extract the files to a desired directory?

The man pages gives me this:
To create a self-extracting archive letters from a regular zipfile letters.zip and change the new archive's permissions to be world-executable under Unix:

cat unzipsfx letters.zip > letters
chmod 755 letters
zip -A letters


now, how can i configure the self-extract zip file extract the files to a hypothetical directory of ./testscript when i run the file 'letters'? Thanks for your help.

Reply With Quote
  #2  
Old January 5th, 2005, 10:00 AM
unix101 unix101 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 4 unix101 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i guess to summarize, how do i convert the following DOS batch file syntax...

wzipse32 %2 -d C:\%2 -y
where %1 is the desired extracted destination directory,

.... to UNIX shell scripting?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > how to use unzipsfx to extract files to desired directory?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT