home *** CD-ROM | disk | FTP | other *** search
-
-
-
- CleanZip
-
- Copyright 1990 by William C. Serrano
- All Rights Reserved
-
-
- WARRANTY NOTICE
-
- ■ Limited Warranty
-
- THERE IS NO WARRANTY, EXPRESSED OR IMPLIED, BY STATUE OR OTHERWISE,
- REGARDING THE PROGRAMS AND RELATED MATERIALS, THEIR FITNESS FOR ANY
- PURPOSE, THEIR QUALITY, THEIR MERCHANTABILITY, OR OTHERWISE.
-
- THE LIABILITY OF THE AUTHOR UNDER THE WARRANTY SET FORTH ABOVE SHALL
- BE LIMITED TO THE AMOUNT PAID BY THE CUSTOMER FOR THE PRODUCT. IN NO
- EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, CONSEQUENTIAL, OR
- OTHER DAMAGES FOR BREACH OF WARRANTY.
-
- THE AUTHOR RESERVES THE RIGHT TO MAKE ANY CHANGES TO THESE PROGRAMS,
- DOCUMENTATION AND CUSTOMER SUPPORT PLANS AT ANY TIME WITHOUT PRIOR
- NOTICE.
-
- THIS SOFTWARE PROGRAM IS A PROPRIETY PRODUCT OF THE AUTHOR AND IS
- PROTECTED BY COPYRIGHTS AND INTERNATIONAL TREATIES. YOU MUST TREAT
- THIS SOFTWARE LIKE ANY OTHER COPYRIGHTED MATERIAL, EXCEPT THAT YOU
- MAY MAKE AN ARCHIVAL COPY OF THE SOFTWARE FOR EACH COPY THAT IS
- LICENSED TO YOU. YOU MAY DISTRIBUTE THE SOFTWARE TO OTHERS SO LONG
- AS THE SOFTWARE IS DISTRIBUTED COMPLETE AND UNMODIFIED.
-
- THE AUTHOR GRANTS YOU THE RIGHT TO USE THIS SOFTWARE FOR TRIAL PERIOD
- NOT TO EXCEED THIRTY (30) DAYS. USE AFTER THIRTY DAYS REQUIRES
- REGISTRATION AS DOCUMENTED IN THIS MANUAL.
-
-
- REGISTRATION
-
- Individuals may register CleanZip by sending one dollar to the
- following address.
-
- William C. Serrano
- Post Office Box 9698
- Long Beach, CA 90810
-
- Individuals who cannot afford one dollar may register by sending a
- picture postcard to the author, with comments, criticism,
- suggestions, or explanations and their name and address written on
- it.
-
- Company, government and institutional users must contact the author
- for licensing information or register every user.
-
-
- WHY?
-
- Sometimes I unzip some files and change a few of them. Then I
- usually forget which have changed and which have not. Sometimes I
- want to save the changed files and sometimes I want to save the
- original unchanged files.
-
- WHAT?
-
- CleanZip looks in all zips and at all the files in the directory. It
- makes two batch files. One batch file will delete all files that are
- identical inside the zip and outside. The other batch file will add
- the changed files to the zip.
-
- You can look at the commands in the batch file with your editor
- before running the batch file. You can change some or all of the
- commands if you need to do so. CleanZip DOES NOT ERASE OR CHANGE ANY
- FILES. Only the batch files erase or change files so that you can be
- sure CleanZip is doing exactly what you want it to do.
-
-
- CleanZip IS SAFE. IT DOES NOT DELETE ANY FILES.
-
- CleanZip creates a batch file called DelinZip.bat. DelinZip.bat is
- the batch file that deletes files that are identical or older than
- those in a zip.
-
- In DelinZip.bat one command is made for each file that exists both
- in a zip file and in that subdirectory. If two files (ex: frog.com)
- are the same it adds the command 'del frog.com'. If the file outside the
- zip is older CleanZip adds the command 'del frog.com'. If the file
- inside the zip is older CleanZip adds the remark 'rem frog.com
- is not the same out of the zip'. The last command in the batch file
- deletes the batch file itself.
-
- CleanZip also creates a batch file called ZipChang.bat. ZipChang.bat
- is a batch file that will add changed files to the zip that
- contains an old version by the same name. In the batch file one
- command is made for each file that exists both in a zip file and in
- that subdirectory. If the file outside the zip is newer CleanZip
- adds the command 'pkzip -a ZIPNAME FILENAME'. The last command in
- the batch file deletes the batch file itself.
-
- If you run the batch file DelinZip.bat, it does the deleting. If you
- run the batch file ZipChang.bat it will add the newer files to the
- Zips. If you want to change DelinZip.bat with your editor, what you
- do in the privacy of your home is your business.
-
- I recommend that you use ZipChang.bat before DelinZip.bat. If the
- same file is in two zips one zip may contain a newer copy than the
- other. If the new copy is also outside the zips ZipChang.bat will
- update the older zip. DelinZip will then remove the extra file
- outside of the zips. If you run DelinZip before ZipChang, ZipChang
- will not be able to update the zip.
-
- WHERE?
-
- CleanZip only works on zips and files in the same subdirectory.
-
- HOW?
-
- Files are considered identical if the name, size, date and time are
- identical. It is possible to deliberately create files with
- different contents that would meet this test. It is almost
- impossible for you to do this accidently. You could create two
- different files with the same time, date, name and size. It is
- unlikely to happen accidently. That is why CleanZip only makes a
- batch file for you to use. It is up to you to decide if you might
- possibly have two very sneaky files with the same name.
-
- CleanZip reads the contents of each zip in the current directory. It
- does this by calling pkzip. If you do not have pkzip (under that
- name) somewhere in your path or in the default directory CleanZip
- will need help to work. If you choose to use a compatible zipping
- utility whose name is not pkzip, it must display the file names in
- the same way that pkzip does or CleanZip might go crazy and write bad
- things in the batch file.
-
- If you use pkzip (or something) by another name you can tell CleanZip
- what to use by setting an environment variable. Of course the
- environment variable is called CleanZip.
-
- Example: set CleanZip=pkzork
-
- This example will cause CleanZip to try to use pkzork instead of
- pkzip. This supersedes using pkzip. You can make CleanZip fail by
- telling it to look for a file that does not exist.
-
- CleanZip uses the file names DelinZip.bat, ZipChang.bat and
- killfile.tmp. It will not write over these files unless you tell it
- to do so. CleanZip will prompt you if it finds one of them so that
- you can stop and look to see if it is worth saving. If you are sure
- that you want to automatically erase these files you can tell
- CleanZip to do so by setting an environment variable. I chose to use
- the variable DelinZip. Set DelinZip equal to anything and it will
- erase DelinZip.bat, ZipChang.bat and killfile.tmp.
-
- Example: set DelinZip=frog
-
- CleanZip will not prevent global thermonuclear war, but I hope it
- will help you a little. We all hope no insects wave their tiny
- antennae in our faces.
-
- To avoid confusion please do not change the name that this file uses
- when up-loaded to bulletin boards.
-
- WHO?
-
- Entire work Copyright 1990 by William C. Serrano, All Rights Reserved
-