#                       Update Toolkit
#                         Version 2.2
#                     Funduc Software, Inc.
#          Copyright 2001-2001, All Rights Reserved
#  http://www.funduc.com      http://www.searchandreplace.com

# Listed below is the script syntax for Update Toolkit File 
# Operations using the 'Alternate' syntax. Please 
# see the program F1 hlp for more information.

GENERAL COMMENTS

# Comment lines in a script are prefaced with # or ' characters in 
# column 1. The comment characters _must_ go in column 1. Comments 
# should not be placed after script commands -- keep comments on 
# separate lines from your working script switches.

# Blank lines are ignored.

# All script commands must begin in column 1!!!

# Script Syntax begins here. The [Directory Info] section header 
# tag MUST be present and MUST precede the [Options] section 
# heater tag.

[Directory Info]
Source=e:\funduc
Target=c:\funduc
# Notes: 
# - Do not use " characters with Source= or Target= 
# - Environment variables for path names are recognized. For 
#   example, Source=%winbootdir% and Target=%temp% are OK.
 
# **** PREVIEW YOUR OPERATIONS **** 
# The Destination= switch, if specified, is the path to copy the
# file(s) to instead of the Target= path. For example, if your
# synchronize choice determines that letter.doc would be copied from
# the Source to the Target, if a path is specified in Destination= ,
# letter.doc would be copied there instead.
#Destination=c:\tools\foldsync\test_results

# **** File Mask= **** 
# The Default Mask is *.*
# You can specify the masks in the order that makes sense. Each mask
# overrides the previous one(s) so chose your order accordingly.
# Take care that an exclude mask does not supercede an include mask.
# Multiple Include= and Exclude= lines are permitted. Masks can
# also refer to subdir names. The syntax for this can be complex.
# Our Directory Toolkit utility has a complex builder that can be
# helpful for making model include/exclude specifications. All
# subdir specifications are relative Source= and Target=
# 
# Examples: 
# Mask                        Effect
# -------------------------   ------------------------------------
# Include Mask=*.i??          Include files ending with .i followed 
#                               by 2 characters
# Include Mask=win.ini        This would be found by the above. 
# Exclude Mask=moricons.dll   Exclude this specific file.
# Exclude Mask=\images\te*\   A wildcard (te*) to skip images\test, 
#                               images\testing, etc.
# Exclude Mask=\*\junk*\*\*.* Skips all files in any subdir junk* 
#                               and all under that
Include Mask=*.*
Exclude Mask=\fra\*\*.*

[Options]

# **** COMPARE/SYNCH OPERATIONS ****
# Use on the switches below to determine what type of
# operation to perform. If nothing is specified, a compare
# operation is the default.
# The choices are:
#  
#   Switch                        Function
#-------------------              -----------------------------------
# Synch Option=Compare             Compares the two directories. This
#                                    is the default if nothing is
#                                    specified. A report should be used
#                                    with this function.
# Synch Option=Synch               Adds new files to both paths and
#                                    copies newer common files from
#                                    either path to the other.
# Synch Option=Augment             Adds new files from source to 
#                                    target.
# Synch Option=Refresh             Updates only existing files from
#                                    source to target.
# Synch Option=Update              Update existing files from source
#                                    to target and adds new files from
#                                    source to target.
# Synch Option=Prune               First deletes files in the target
#                                    that cannot be found in the
#                                    source. It then updates existing
#                                    and adds new files from source to
#                                    target.
# Synch Option=Identical           Deletes files from the target that
#                                    are identical to those in the
#                                    source.
# Synch Option=Make Dirs           Replicates the target subdirectory
#                                    structure but does not copy files.
# Synch Option=Delete Empty        Delete empty directories from the
#                                    target. No other files are copied.
# 
# NOTE ON PRUNE: Prune removes subdirs from the target only if
# there is no counterpart subdir in the target. For safety
# reasons, there must be at least one file somewhere in the
# source path for prune to remove empty subdirs. No subdirs
# will be removed from the target if no files exist in the
# source path.
Synch Option=Compare    

# **** INCLUDE/EXCLUDE SUBDIRECTORIES ***
# Use the switch here to include or not include subdirectories. The 
# default is 1, for search and process all subdirectories.
# Possible Values:
#  0 = Do not recurse subdirs
#  1 = Include subdirs
Search Subdirectories=1

# **** CONFIRM FILE CHANGES ***
# The program default is to provide a confirmation when replacing or
# deleting files/directories. To disable prompts and eliminate the
# opportunity to stop a replacement or deletion, use a zero value
# for Confirm Updates=. To make the program completely silent,
# disable both confirmations and the progress meter.
# Possible Values:
#  0 = No confirmations
#  1 = Confirmations
Confirm Updates=1

# **** UPDATE OLDER / NEWER FILES ***
# You can force the program to overwrite newer files by using 
# the Newer Overwrite=1 setting. The defaults if not specified are
# Older Overwrite=1 and Newer Overwrite=0. Use Newer Overwrite with 
# care. It will replace newer versions of files with older versions.
# Possible Values:
#  0 = Do not overwrite
#  1 = Allow overwrites
Older Overwrite=1
Newer Overwrite=0

# **** OUTPUT FILE FUNCTIONS ****
# When a file is specified with the Log File= switch a report is
# written. Use the Append to Output File= switch to write to the
# file in Overwrite vs. Append mode. 
# Possible Values:
#  0 = Overwrite mode.
#  0 = Append mode.
#Log File=c:\tools\foldsync\foldsync.log
Append to Output File=0

# **** SORT ORDER OF THE OUTPUT FILE ****
# The primary sort order in the output file can be changed using the
# below values with the Sort Compare= switch. You can also change
# ascending vs descending using the Sort Type= switch.
# The Sort Type= values are:
#  Sort Type=0 - Descending
#  Sort Type=1 - Ascending
# The Sort Compare= settings are:
#  Field to sort on:
#  Sort Compare=-1 - None (default)
#  Sort Compare=0  - Name
#  Sort Compare=1  - File Type
#  Sort Compare=2  - File Date
#  Sort Compare=3  - File Size
#  Sort Compare=4  - Path
#  Sort Compare=5  - Checksum sort
#  Sort Compare=6  - CRC32 Sort
Sort Compare=-1
Sort Type=1

# **** PROGRESS METER ***
# The progress meter can be enabled/disabled with this switch. To
# make the program completely silent, disable both confirmations and
# the progress meter. The default is to display the meter.
# Possible Values:
#  0 = Progress meter enabled
#  1 = Progress meter disabled
No Progress=0

# **** ERROR REPORTING ***
# Popup messages for errors such as 'Drive Not Ready' or 'Drive Full'
# can be enabled/disabled with this switch. Regardless of the setting 
# here, errors are always noted in the Output File if one is specified
# The default is to no popup error messages.
# Possible Values: 
#  0 = Do not display messages
#  1 = Display error messages
Display Error Messages=1

# **** DISABLE/ENABLE CANCEL BUTTON ****
# Use the values here to disable/enable the cancel button.
# The default is that cancel is permitted. 
# Possible Values:
#  0 = Disable Cancel button
#  1 = Enable Cancel button
Allow Cancel=1

# **** MESSAGE TO DISPLAY ***
# Specify a brief, single line message here to be displayed 
# in the progress meter. 
Message=Performing a synchronize....

# **** DISPLAY CUSTOM BITMAP ***
# The program can display a bitmap (transparent) using the using the 
# bottom left pixel as the transparent color.
#Bitmap=Test1.bmp

# **** FILTERING FILES ****
# Include Mask= and Exclude Mask= switches above are used to 
# filter files by name and path.
# Other switches are available to filter files by size, date, and
# file attribute. The Reverse Filters= switch is used to cause 
# these switches to function as 'exclude' or 'include'. 
# 
# The number of possible combinations of settings is extensive and 
# difficult to explain. Please see the program Winhlp documentation
# for more information. 
#
# The values below are the defaults if not specified (all
# files included). Omit those entirely if you do not need any
# special settings. 
#Max Size Filter=
#Min Date Filter=
#Max Date Filter=
#Filter Skip Mask=0
#Ignored Attributes Mask=55
#Reverse Filters=0

# **** OUTPUT FORMATTING ****
# Formatting in the log file can be controlled with the below switch. 
# The syntax is complex. Please see the file, 'DT.SFS' for more 
# information.
#Output Columns=

# **** GROUP FILES ****
# To see all related files grouped (or not) in the output report.
# This switch has no effect on file operations during synchronize.
# It affects only how files are listed in the report.
# Possible Values:
#  0 = Files will not be grouped.
#  1 = Files are grouped by file name within the sort order. 
#      Orphaned files are listed at the top or bottom of the list.
Group Files=0

# **** OPERATE ON IDENTICAL / DIFFERENT FILES ****
# The Show Different= and Show Identical= switches determine whether
# the program will operated on alike &/or different files. These
# determine the files that are available for pressing by all
# operations. In most cases, the default of Show Different=1 should
# be permitted! When Show Different=0, different files would not be
# synchronized. The default is to display both identical and different.
# Possible Values:
#  0 = Do not include those files
#  1 = Include those files
Show Different=1
Show Identical=1

# *** CASE SENSITIVE NAME MATCHING ***
# Use this to compare file names case sensitive or not. If not 
# specified, Default = 0.
# Possible Values:
#  0 = File name matching not case sensitive.
#  1 = File name matching is case sensitive.
Case Sensitive=0

# **** PERFORM BINARY FILE CONTENTS COMPARISON ****

# When enabled, Folder Synchronize will do a binary contents
# comparison on files with matching names. Files that have alike
# contents will be considered identical even if their date/time
# stamps differ. Binary compare will probably be slower because
# files themselves must be read. Default if not specified = 0.
# Possible Values:
#  0 = Do not perform contents comparison.
#  1 = Perform binary contents comparison.
Check Same Size Files=0

# **** LIST FILES FOUND IN ONE PATH ONLY ****

# When disabled, Folder Synchronize will not consider files that do
# not have a same-named counterpart in one or the other path.
# Disable this with care - When disabled, orphan files in the source
# would not be added to the target. Conversely, they would not be
# pruned from the target. If not specified, Default = 1.
# Possible Values:
#  0 = Do not include files that exist in one dir only.
#  1 = Include files that exist in one directory only.
Show Files in 1 Dir=1

# **** UNIX COMPARE MODES ****
# Two special 'Unix' Directory Compare modes are available as a
# subset of Binary File Comparison (above) to compare files that
# have matching date/time stamps but different file sizes. The
# first, 'Ignore Whitespace Compare', disregards whitespace
# including spaces and line terminators. This mode can be used to
# compare Unix vs. PC files that are the same name and have matching
# time/date stamps. The second, 'Ignore Case Compare', disregards
# the case of the text within the files.
# Important Notes - Please Read:
# - The Check Same Size Files=1 switch MUST also be specified for 
#   either of these switches to work.
# - Ignore Whitespace Compare can be done alone. 
# - To use Ignore Case Compare you MUST also enable Ignore Whitespace
#   Compare.
# - The default for both switches if not specified is = 0, e.g.,
#   Ignore Whitespace Compare=0, Ignore Case Compare=0
# Settings if you want Unix Compare alone:
#  Check Same Size Files=1
#  Ignore Whitespace Compare=1
#  Ignore Case Compare=0
# Settings if you want Unix Compare and Ignore Case Compare:
#  Check Same Size Files=1
#  Ignore Whitespace Compare=1
#  Ignore Case Compare=1

# **** SCAN FOR DUPLICATE FILES ****
# This function will locate duplicate files within a single path and
# attempt to group them in the output report. Do not enable this for
# the typical comparison. Use this only with Synch Option=Compare.
# You should also enable display of idential and different files.
# If not specified, Default = 0.
# Possible Values:
#  0 = Do not search for duplicate files in the paths.
#  1 = Perform a Match Duplicate Files comparison. 
Match In Subdir=0

# **** TIME CHECK PRECISION ****
# Specify the value in seconds to use for a range within which files
# will be considered to have the same time/date stamp. If not
# specified, Default = 3.
Time Check Precision=3