Bourne Shell Archiving Code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crystal2005
    New Member
    • Apr 2007
    • 44

    Bourne Shell Archiving Code

    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....
  • Laharl
    Recognized Expert Contributor
    • Sep 2007
    • 849

    #2
    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?

    Comment

    • oberon
      New Member
      • Mar 2008
      • 14

      #3
      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.

      Comment

      Working...