Connecting Tech Pros Worldwide Forums | Help | Site Map

Bourne Shell Archiving Code

crystal2005's Avatar
Member
 
Join Date: Apr 2007
Location: Australia
Posts: 43
#1: Apr 3 '08
Hi all,

I have been googling to search an example code of archiving (E.g. .tgz .tar .zip) for my research. However, unluckily i found none. Is there anyone can help to find one?

Oh yeah, I'm currently using UNIX to do my bourne shell scripting. Is there any recommendation what interpreter to use if i would like to do it in Windows?

Thanks a lot in advance....

Expert
 
Join Date: Sep 2007
Posts: 856
#2: Apr 3 '08

re: Bourne Shell Archiving Code


Well...look at the man pages for 'tar', 'zip', 'bzip'. You can execute commands directly from a shellscript, so why not use what's already there?
Newbie
 
Join Date: Mar 2008
Posts: 14
#3: Apr 3 '08

re: Bourne Shell Archiving Code


Quote:

Originally Posted by crystal2005

Is there any recommendation what interpreter to use if i would like to do it in Windows?

Hi!
I would recommend Cygwin. It is a popular "linux-like" environment for Windows, and it implements POSIX and a large collection of applications equivalent to those found on unix/linux.
Reply