Home » Infrastructure » Unix » create a zip file or tar file
create a zip file or tar file [message #97910] Thu, 22 May 2003 09:04 Go to next message
Jian
Messages: 4
Registered: May 2003
Junior Member
I need to creat a tar file for directory in my pc. but I am getting get errors that command is not recognized.
I have done this in unix environment and not sure what is different with NT environment

eg tar cvf filename .tar a b c
zip test *
Re: create a zip file or tar file [message #97911 is a reply to message #97910] Thu, 22 May 2003 10:41 Go to previous message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
You need to download and install winzip/winrar for a gui based compression tool or if you prefer a command line tool use pkzip ( all are freeware...search google)

C:>pkzip mytext.zip *.txt

PKZIP (R)   FAST!   Create/Update Utility   Version 2.50   03-01-1999
Copr. 1989-1999 PKWARE Inc.  All Rights Reserved.   Shareware Version
PKZIP Reg. U.S. Pat. and Tm. Off.  Patent No. 5,051,745

�¡ Pentium II class CPU detected.
�¡ XMS version 2.00 detected.
�¡ DPMI version 0.90 detected.
�¡ Using 32-Bit Protected Mode Normal Compression.

Creating ZIP: mytext.zip
  Adding: HR.TXT        Deflating (55%), done.
  Adding: MFYILE.TXT    Deflating ( 7%), done.
  Adding: MYFILE.TXT    Deflating (100%), done.
  Adding: PO.TXT        Deflating (49%), done.
  Adding: POT.TXT       Deflating (52%), done.
  Adding: SAMPLE.TXT    Deflating (88%), done.
  Adding: TESTCS~1.TXT  Deflating (23%), done.
  Adding: TESTCT~1.TXT  Deflating ( 6%), done.
  Adding: TUNING~1.TXT  Deflating (81%), done.

C:>dir *.zip
 Volume in drive C is PRIMARY
 Volume Serial Number is 4C2A-12D5

 Directory of C:

05/22/2003  12:08p              49,754 MYTEXT.ZIP
               1 File(s)     86,164,153 bytes
               0 Dir(s)  11,805,515,776 bytes free

Previous Topic: lsnrctl start error
Next Topic: replicating oracle database between solaris & windows 2000 advanced server
Goto Forum:
  


Current Time: Sun Nov 22 14:27:55 CST 2026