home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / zines / n_z / pirate4.004 < prev    next >
Encoding:
Text File  |  2003-06-11  |  6.4 KB  |  115 lines

  1.  
  2.  
  3.  
  4. ***************************************************
  5. ***  Pirate Magazine Issue IV  /  File 4 of 10  ***
  6. ***  >Zipping and Archiving<                     ***
  7. ***************************************************
  8.  
  9.  
  10. Swapping warez requires considerable zipping, unzipping, and rezipping, and we
  11. offer the following tips to help assure that we get the most out of our ZIP
  12. programs and procedures. ALthough most boards will accept any reputable
  13. compression, there's not much disagreement on which compression method is the
  14. best: Phil Katz's PKZIP is the standard. It's fast, tight, and offers many
  15. options.  Although some, such as ICE 1.14, may have higher compression ratios,
  16. no other program has the all around power and utility as PKware.
  17. Unfortunately, too many warez hobbyists don't use PKZIP to it's full potential,
  18. and this can result in lost files, confused archives, or incomplete files on
  19. uploading. We offer the following tips to improve zipping procedures.
  20.  
  21. 1. Always zip from the original disks or programs when possible rather then do
  22. a file dump and then rezip. In a file dump, it is easy to forget to include
  23. subdirectories.
  24.  
  25. 2. *ALWAYS* put a zip comment in each zip file so you (or others) know what
  26. that file is. If you are zipping up a program called "LAWRITE" that has 6
  27. disks, with the first being the program disk, type this command:
  28.     PKZIP LRT21-1  (for "Law Rite, ver. 2.1, disk 1). Then, type:  PKZIP -Z
  29.     LRT21-1   (this will allow a zip comment) and type at the prompt something
  30.     like: "LAWRITE BY MACON, VER. 2.1, PROGRAM DISK  (1/6).  This lets you (or
  31.     whoever) know what the program is, what the disk is should the installation
  32.     procedure ask for the specific disk, and give you the version so it won't
  33.     be confused with an upgrade.
  34.  
  35. 3. Experienced hobbyists keep their backup zip files as they come
  36. off the disk, and this means *KEEPING SUBDIRECTORIES INTACT AND SEPARATE FROM
  37. OTHER FILES.**  There are two ways to do this.  The first is to INSTALL a
  38. complete program, including all options, so a complete program exists on hard
  39. disk. Then, we go into each subdirectory and zip the files. For example, if
  40. LAWRITE has a main directory called LAWRITE and three subdirectories called a)
  41. FILES, b) LAW, and c) DICTNRY, you first go into each of the three
  42. subdirectories and zip the the files with the command:  PKZIP -M FILES (or LAW
  43. or DICTNRY).  This will zip all the files in that directory and remove them
  44. after zipping. This saves the need to delete files individually.  THEN: Go into
  45. the LAWRITE directory and type the command:
  46.   PKZIP -m -P -r LRT21 (note lower case m & r and UPPER case P)
  47. This will zip the entire program, Law Rite 2.1. The -m command
  48. removes individual files, the -P switch retains the file's original
  49. path, and the -r recurses the subdirectories. For a helpful article on
  50. this, even for experienced users, see Steven J. Vaughan-Nichols:
  51. "Zippity PKzip" in PC COMPUTING, Feb., 1990 (p. 96-99).
  52.  
  53. When finished, you should have one main zip file that contains all the files
  54. from the LAWRITE directory and three additional zip files from the three
  55. subdirectories. BE SURE TO ADD A "README.NOW" note and explain that, when
  56. unzipping, these directories and subdirectories should be created, unzipped in
  57. the LAWRITE directory (with the PKUNZIP command). If you have a large program
  58. with several zip files in it (ALWAYS RUN THE PKUNZIP -v *.zip command to see
  59. what's in a zip file before unzipping), you might first create subdirectoriese
  60. named after those zip files just to be safe, and keep your fingers crossed that
  61. whoever zipped it knew what they were doing.  That's why it is crucial to name
  62. those other zip files exactly as the subdirectory appears.
  63.  
  64. The disadvantage of this kind of zipping for hobbyists is that when unzipping,
  65. the files will be from an installed program and not the original disk. This
  66. means that if unzipped on a different computer, some needed files may be
  67. missing. Besides, it's always helpful to have a second backup that
  68. doesn't take much space that is complete. That's why we prefer
  69. to keep zips off the original disks, because you never know what
  70. kind of system it will be unzipped on, and installation programs
  71. rarely copy over all files, but only those needed during the
  72. initial configuration.
  73.  
  74. We suggest creating a test directory with a few subdirectories and placed some
  75. short, unneeded files in them and then spending an hour practicing with the
  76. PKzip/UNzip commands until you are familiar with them. You might also consider
  77. experimenting with various batch commands, and use wildcards to create an
  78. auto-zip program that saves typing time.
  79.  
  80. There have been reports that ICE 1.14 is a hacked version of LHarc, but this
  81. does not appear true. A nice summary of other compression programs appeared in
  82. PC COMPUTING (see above):
  83.  
  84.  ----------
  85. FOUR OTHER DATA COMPRESSORS PKzip stands above other data-compression shareware
  86. in terms of overall performance. Here are some more very popular utilities:
  87.  
  88. ARC 5.02. Long the industry standard, Arc 6.02 has deteriorated into a
  89. middle-of-the-road performer in terms of speed and compression ratios.  It has
  90. the bad habit of aborting a job and leaving a file half-compressed if it
  91. doesn't have enough disk space to complete the operation....
  92.  
  93. ICE .14. One of the newest entries in the data-compression arena, Ice (also
  94. known as LHarc) emerged as a popular shareware program in Japan.  It has the
  95. highest compression ratio of any program mentioned here, but it's painfully
  96. slow--and very difficult to use, in part because of its limited documentation.
  97. Ice .14 is currently available on GEnie.
  98.  
  99. PAK 2.1.  Though it's been around for a while, Pak has never had the prominence
  100. of either Arc or PKzip, mostly because its performance lags behind that of the
  101. other two programs. Pak excels at handling multiple file specifications and can
  102. create and convert files read by Arc.
  103.  
  104. Zoo 2.01. Neither the fastest nor the most efficient compression utility
  105. available, Zoo offers some advantages. This shareware program allows you to
  106. selectively extract multiple generations of the same file--a terrific feature
  107. for programmers and writers. It also spans several operating systems, including
  108. Xenix, VAX/VMS, and Amiga DOS, so that you can archive files across platforms.
  109. It's a difficult program to master, and the documentation isn't much help in
  110. figuring it out.
  111.  
  112.  
  113.                  >--------=====END=====--------<
  114.  
  115.