SYNCTREE -------- SyncTree is a small WIN32 program to synchronize two directory trees based on file dates. I wrote it in order to ensure that my source code is up-to-date when copying back and forth from home, but I'm sure it could have other uses as well. Files are copied from one tree to the other if either they don't exist or are newer. Provisions are made for excluding specific directories (sub-trees), and for excluding files based on file mask. Because I tend to use it for the same operations repeatedly, SyncTree gets its input parameters from a text file. This avoids problems with long command lines on some platforms, and eliminates any problems with parsing long file names (i.e., spaces in the names). The format of the command file is simple. There are a couple of examples in the archive (test.syn and cmd.syn). The lines in the command file are: Dir1: Directory tree #1 Dir2: Directory tree #2 Include: File masks to include, separated by semi-colons (;) Exclude: File masks to exclude, separated by semi-colons (;) SkipDirs: Directory names to skip, separated by semi-colons (;) The command accepts two options: -tn Set trace level to 'n' (0-9); controls the amount of information displayed while processing. -q Sets query mode; Synctree will show what it would do, without copying any files or creating any directories. The synctree source code may be used and modified freely for personal use. Commercial use requires permission from Cerious Software, Inc. If you have any questions or comments about SyncTree, please contact: Phillip Crews pcrews@cerious.com Cerious Software, Inc. http://www.cerious.com 1515 Mockingbird Ln. Suite 910 CIS: 71501,2470 Charlotte, NC 28209 -- Copyright (c) 1997, Cerious Software Inc. All Rights Reserved.