home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / ibm / pc / misc / 15706 < prev    next >
Encoding:
Internet Message Format  |  1992-12-11  |  3.5 KB

  1. From: Sheldon.Sawatzky@f886.n2000.z12.misgate.gmi.org (Sheldon Sawatzky)
  2. Sender: uucp@misgate.gmi.org
  3. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!col.hp.com!gmi!misgate!uucp
  4. Newsgroups: comp.sys.ibm.pc.misc
  5. Subject: Compress Huge File 2/3
  6. Message-ID: <724113082.F00005@misgate.gmi.org>
  7. Date: Thu, 10 Dec 1992 13:50:03 -0700
  8. Lines: 100
  9.  
  10. --continued... Part 2/3
  11.  
  12. Echo Sum these sizes; the sum should equal the size of the file
  13.     C:\ZBACKUP.ZIP.
  14. Echo .
  15. Echo *** ZBACKUP is Finished ***
  16. GoTo Done
  17.  
  18. :Help
  19. if not exist c:\zbackup.hlp Goto NoHlp
  20. type c:\zbackup.hlp | more
  21. GoTo Done
  22. :NoHlp
  23. Echo Please copy the file ZBACKUP.HLP to C:\ZBACKUP.HLP and reissue
  24.        ZBACKUP ?
  25. Echo or edit this file with your favorite editor to display it.
  26. GoTo Done
  27. :WrapUp
  28. REM In case called from a Shell or Windows, pause to read error messages.
  29. pause
  30.  
  31. :Done
  32. if exist c:\C-Disk.DIR erase c:\C-Disk.DIR
  33. REM End ZBACKUP.BAT
  34.  
  35.    -----------------------ZBACKUP.HLP follows---------------------------
  36.                             ZBACKUP.BAT
  37.                       H. D. Knoble - 2/13/92
  38.  
  39.                       ZBACKUP - Zip Backup Utility
  40.  
  41. PURPOSE: To backup all filespecs specified in the index file,
  42. C:\ZBACKUP.INX, in PKZIP (by Phil Katz) format to diskette(s) in
  43. drive A:
  44.  
  45. SYNTAX: ZBACKUP                or        ZBACKUP ?
  46.  
  47. REQUIREMENTS: There is enough disk space in the root directory of C:
  48. to hold the file ZBACKUP.ZIP. Index file C:\ZBACKUP.INX must be
  49. present.
  50.  
  51. RESULTS: The file C:\ZBACKUP.ZIP will be created such that all files
  52. specified in the file C:\ZBACKUP.INX will be compressed to
  53. C:\ZBACKUP.ZIP. The The Backup file will include pathnames.
  54.  
  55. DETAILED USE: BACKUP, VIEWING CONTENTS, AND RESTORE
  56.  
  57. The file A:\ZBACKUP.INX is a sample ASCII index file; the index file
  58. can contain any valid DOS filespec including wildcards; it may
  59. contain filespecs from any valid mixture of PC drives.
  60.  
  61.  TO DISPLAY THIS DOCUMENTATION Issue: ZBACKUP ?
  62.  
  63.  TO DO AN ACTUAL BACKUP OF SELECTED FILES Issue:
  64.   1) EDIT C:\ZBACKUP.INX        and make sure this inclusive list suits
  65. you.
  66.   2) ZBACKUP                    to do actual backup
  67.  
  68.  TO RESTORE Issue:
  69.   0) RESTORE B: C: /D   this should display the BACKUP contents as the
  70. single
  71.                         file ZBACKUP.ZIP
  72.   1) RESTORE B: C:      this puts B:\BACKUP.001, .002, ...back to
  73. C:\ZBACKUP.ZIP
  74.   2) MD C:\TEMP
  75.      CD C:\TEMP         create a subdirectory to hold restored files.
  76.      PKUNZIP -d -j C:\ZBACKUP.ZIP filespec
  77.      e.g., PKUNZIP -d -j C:\ZBACKUP.ZIP WATFOR77\*.FOR
  78.            will restore what might have been C:\WATFOR77\*.FOR to
  79.            C:\TEMP\WATFOR77\*.FOR in a safe way, prompting to replace any
  80.            filespecs already there.
  81.  
  82.    NOTE: If only one diskette is needed to hold your C:\ZBACKUP.ZIP
  83. file, then the file A:\BACKUP.001 is in fact a Zip file and may be
  84. treated as such. I.e., DOS 5.0 Backup doesn't alter C:\ZBACKUP.ZIP;
  85. so if it fits on one diskette it remains a Zip file under the
  86. fileid, BACKUP.001. Thus in this case Steps 0 and 1 above could be
  87. eliminated and at Step 2 issue instead: PKUNZIP -d -j A:\BACKUP.001
  88. filespec.
  89.  
  90.  TO MAKE A DIRECTORY, ASCII TEXT FILE BACKUP.DIR, OF ALL BACKED UP
  91. FILES Issue:
  92.  
  93.   1) RESTORE B: C:
  94.   2) PKUNZIP -V C:\ZBACKUP.ZIP > C:\BACKUP.DIR
  95.  
  96.  TO ADD/UPDATE files to ZBACKUP.ZIP add them to C:\ZBACKUP.INX and
  97. (re)issue:
  98.   the command: ZBACKUP
  99.  
  100.  TO GET BRIEF HELP FOR PKZIP ROUTINES Issue:
  101.    a) PKUNZIP or PKUNZIP -h
  102.    b) PKZIP   or PKZIP -h
  103.  
  104. ... continued
  105.  
  106.  * OLX 2.1 TD * May peace and joy be yours this holiday season!
  107.  
  108.  * Origin: Taiwan Missionary BBS (12:2000/886.0)
  109.  
  110.