CopyNew v2.0

A very handy little utility that will determine which files have changed. It will detect any changes made to files on harddisk, and copy all changed files to another drive or directory.

  • Synchronise harddisks of two computers.
  • Synchronise harddisk with a network disk.
  • Create archive (zip, arj) containing changed files only.
  • Highly configurable.
  • Easy to automate.

 *  Download copynew for Windows 95/NT (37kb)
 *  Download copynew sources (7kb)
I have a workversion of my websites locally on my PC. Once a day (or so) I upload all the changes to the servers. I used to have to upload the entire site, having forgotten exactly which files had changed after some hours of work. This utility will determine that for me, and will copy them to a temporary directory. I can then zip that directory, upload, and unpack at the other end.

Another use I have for this program is synchronising two PC’s using a ZIP disk. The disk has a capacity of 100Mb, but I have a lot more stuff. So at the end of the day I use CopyNew to create me a carry-Zip, containing all the changes I made that day.



copynew [-c] [-d N] [-h] filename

-c Do not copy. Default is to copy the changed files to the output directory.
-d N Set debug level. Default is 1. Zero is error messages only. The maximum debug level is three.
-h Show this usage text.
filename Process this workfile. Default extension is “.wrk”.



  1. Place the copynew.exe program in your path.
    • Windows 95/NT: Copy the “copynew.exe” program into a directory in your path, for example “c:windows”.
    • Unix:
      1. Copy “Makefile.unx” to “Makefile”.
      2. Change the “BINDIR” setting in the Makefile. It is unlikely that you’ll have to change anything else.
      3. Run “make”.
      4. Run “make install”. This will copy the program to the BINDIR.
  2. Create a directory and a work file in that directory. See the “example.wrk” file in the distribution.
  3. You can now run the copynew program. For example: “copynew example.wrk”. The program will create a directory with the same name as the work file (in this case “example”) and will store all the changed files in it. When run for the first time on a new work file it will copy *all* the files.

The Workfile

To use the program you will first have to create a workfile containing commands. The workfile is a simple text file, with one command per line. The order of the commands is not important. The possible commands are:

include path
Include all the files in the path. For example: “include c:windows” will include all files in the windows directory.
exclude mask
Exclude all the files that match the mask. Use ‘*’ for anything, ‘?’ for any character. For example: “exclude c:windows*.ini” will exclude all *.ini files in the windows directory.
Comment character. Lines that begin with this character will be ignored.