home *** CD-ROM | disk | FTP | other *** search
/ ftp.funduc.com / 2014.08.ftp.funduc.com.tar / ftp.funduc.com / fsshr64.zip / FoldSyncSyntax_Original.sfs < prev    next >
Text File  |  2009-07-31  |  15KB  |  359 lines

  1. #          Folder Synchronize Command Script File Syntax
  2. #                           Version 3.0
  3. #                       Funduc Software, Inc
  4. #                        Copyright 1997-2009
  5. #      http://www.funduc.comááááhttp://www.searchandreplace.com
  6. #        support@Funduc.com áááásupport@searchandreplace.comá
  7.  
  8. # This is a sample script that documents an alternative script
  9. # syntax for Folder Synchronize.  The syntax here has one 
  10. # function that is not available in the 'FoldSyncSyntax.sfs'
  11. # style: Environment Variables for Source & Target
  12.  
  13. # IMPORTANT NOTE: This syntax style does not support the v 2.7
  14. # Prompted & Custom Synchronize choices that are available in 
  15. # the syntax style described in 'FoldSyncSyntax.sfs'.
  16.  
  17. # Comment lines in a script are prefaced with # or ' characters in 
  18. # column 1. The comment characters _must_ go in column 1. Comments 
  19. # should not be placed after script commands -- keep comments on 
  20. # separate lines from your working script switches.
  21.  
  22. # Blank lines are ignored.
  23.  
  24. # All script commands must begin in column 1!!!
  25.  
  26. # Please see 'FoldSync.hlp' or 'FoldSync.chm' for information on
  27. # the Folder Synchronize command line. The program does not have a
  28. # user interface. The program works via script files that are passed 
  29. # to the program executable on the command line.
  30.  
  31. # Script Syntax begins here. The [Directory Info] section header 
  32. # tag MUST be present and MUST precede the [Options] section 
  33. # heater tag.
  34.  
  35.  
  36. [Directory Info]
  37. Source=e:\funduc
  38. Target=c:\funduc
  39. # Notes: 
  40. # - Do not use " characters with Source= or Target= 
  41. # - Environment variables for path names are recognized. For 
  42. #   example, Source=%winbootdir% and Target=%temp% are OK.
  43.  
  44.  
  45. # **** PREVIEW YOUR OPERATIONS **** 
  46. # The Destination= switch, if specified, is the path to copy the
  47. # file(s) to instead of the Target= path. For example, if your
  48. # synchronize choice determines that letter.doc would be copied from
  49. # the Source to the Target, if a path is specified in Destination= ,
  50. # letter.doc would be copied there instead.
  51. #Destination=c:\tools\foldsync\test_results
  52.  
  53. # **** File Mask= **** 
  54. # The Default Mask is *.*
  55. # You can specify the masks in the order that makes sense. Each mask
  56. # overrides the previous one(s) so chose your order accordingly.
  57. # Take care that an exclude mask does not supercede an include mask.
  58. # Multiple Include= and Exclude= lines are permitted. Masks can
  59. # also refer to subdir names. The syntax for this can be complex.
  60. # Our Directory Toolkit utility has a complex builder that can be
  61. # helpful for making model include/exclude specifications. All
  62. # subdir specifications are relative Source= and Target=
  63. # Examples: 
  64. # Mask                        Effect
  65. # -------------------------   ------------------------------------
  66. # Include Mask=*.i??          Include files ending with .i followed 
  67. #                               by 2 characters
  68. # Include Mask=win.ini        This would be found by the above. 
  69. # Exclude Mask=moricons.dll   Exclude this specific file.
  70. # Exclude Mask=\images\te*\   A wildcard (te*) to skip images\test, 
  71. #                               images\testing, etc.
  72. # Exclude Mask=\*\junk*\*\*.* Skips all files in any subdir junk* 
  73. #                               and all under that
  74. Include Mask=*.*
  75. Exclude Mask=\fra\*\*.*
  76.  
  77. [Options]
  78.  
  79. # **** COMPARE/SYNCH OPERATIONS ****
  80. # Use on the switches below to determine what type of
  81. # operation to perform. If nothing is specified, a compare
  82. # operation is the default.
  83. # The choices are:
  84. #  
  85. #   Switch                        Function
  86. #-------------------              -----------------------------------
  87. # Synch Option=Compare             Compares the two directories. This
  88. #                                    is the default if nothing is
  89. #                                    specified. A report should be used
  90. #                                    with this function.
  91. # Synch Option=Synch               Adds new files to both paths and
  92. #                                    copies newer common files from
  93. #                                    either path to the other.
  94. # Synch Option=Augment             Adds new files from source to 
  95. #                                    target.
  96. # Synch Option=Refresh             Updates only existing files from
  97. #                                    source to target.
  98. # Synch Option=Update              Update existing files from source
  99. #                                    to target and adds new files from
  100. #                                    source to target.
  101. # Synch Option=Prune               First deletes files in the target
  102. #                                    that cannot be found in the
  103. #                                    source. It then updates existing
  104. #                                    and adds new files from source to
  105. #                                    target.
  106. # Synch Option=Identical           Deletes files from the target that
  107. #                                    are identical to those in the
  108. #                                    source.
  109. # Synch Option=Make Dirs           Replicates the target subdirectory
  110. #                                    structure but does not copy files.
  111. # Synch Option=Delete Empty        Delete empty directories from the
  112. #                                    target. No other files are copied.
  113. # NOTE ON PRUNE: Prune removes subdirs from the target only if
  114. # there is no counterpart subdir in the target. For safety
  115. # reasons, there must be at least one file somewhere in the
  116. # source path for prune to remove empty subdirs. No subdirs
  117. # will be removed from the target if no files exist in the
  118. # source path.
  119. Synch Option=Compare    
  120.  
  121. # **** INCLUDE/EXCLUDE SUBDIRECTORIES ***
  122. # Use the switch here to include or not include subdirectories. The 
  123. # default is 1, for search and process all subdirectories.
  124. # Possible Values:
  125. #  0 = Do not recurse subdirs
  126. #  1 = Include subdirs
  127. Search Subdirectories=1
  128.  
  129. # **** CONFIRM FILE CHANGES ***
  130. # The program default is to provide a confirmation when replacing or
  131. # deleting files/directories. To disable prompts and eliminate the
  132. # opportunity to stop a replacement or deletion, use a zero value
  133. # for Confirm Updates=. To make the program completely silent,
  134. # disable both confirmations and the progress meter.
  135. # Possible Values:
  136. #  0 = No confirmations
  137. #  1 = Confirmations
  138. Confirm Updates=1
  139.  
  140. # **** UPDATE OLDER / NEWER FILES ***
  141. # You can force the program to overwrite newer files by using 
  142. # the Newer Overwrite=1 setting. The defaults if not specified are
  143. # Older Overwrite=1 and Newer Overwrite=0. Use Newer Overwrite with 
  144. # care. It will replace newer versions of files with older versions.
  145. # Possible Values:
  146. #  0 = Do not overwrite
  147. #  1 = Allow overwrites
  148. Older Overwrite=1
  149. Newer Overwrite=0
  150.  
  151. # **** OUTPUT FILE FUNCTIONS ****
  152. # When a file is specified with the Log File= switch a report is
  153. # written. Use the Append to Output File= switch to write to the
  154. # file in Overwrite vs. Append mode. 
  155. # Possible Values:
  156. #  0 = Overwrite mode.
  157. #  0 = Append mode.
  158. # Log File=c:\tools\foldsync\foldsync.log
  159. Append to Output File=0
  160.  
  161. # **** SORT ORDER OF THE OUTPUT FILE ****
  162. # The primary sort order in the output file can be changed using the
  163. # below values with the Sort Compare= switch. You can also change
  164. # ascending vs descending using the Sort Type= switch.
  165. # The Sort Type= values are:
  166. #  Sort Type=0 - Descending
  167. #  Sort Type=1 - Ascending
  168. # The Sort Compare= settings are:
  169. #  Field to sort on:
  170. #  Sort Compare=-1 - None (default)
  171. #  Sort Compare=0  - Name
  172. #  Sort Compare=1  - File Type
  173. #  Sort Compare=2  - File Date
  174. #  Sort Compare=3  - File Size
  175. #  Sort Compare=4  - Path
  176. #  Sort Compare=5  - Checksum sort
  177. #  Sort Compare=6  - CRC32 Sort
  178. Sort Compare=-1
  179. Sort Type=1
  180.  
  181. # **** PROGRESS METER ***
  182. # The progress meter can be enabled/disabled with this switch. To
  183. # make the program completely silent, disable both confirmations and
  184. # the progress meter. The default is to display the meter.
  185. # Possible Values:
  186. #  0 = Progress meter enabled
  187. #  1 = Progress meter disabled
  188. No Progress=0
  189.  
  190. # **** ERROR REPORTING ***
  191. # Popup messages for errors such as 'Drive Not Ready' or 'Drive Full'
  192. # can be enabled/disabled with this switch. Regardless of the setting 
  193. # here, errors are always noted in the Output File if one is specified
  194. # The default is to no popup error messages.
  195. # Possible Values: 
  196. #  0 = Do not display messages
  197. #  1 = Display error messages
  198. Display Error Messages=1
  199.  
  200. # **** DISABLE/ENABLE CANCEL BUTTON ****
  201. # Use the values here to disable/enable the cancel button.
  202. # The default is that cancel is permitted. 
  203. # Possible Values:
  204. #  0 = Disable Cancel button
  205. #  1 = Enable Cancel button
  206. Allow Cancel=1
  207.  
  208. # **** MESSAGE TO DISPLAY ***
  209. # Specify a brief, single line message here to be displayed 
  210. # in the progress meter. 
  211. Message=Performing a synchronize....
  212.  
  213. # **** DISPLAY CUSTOM BITMAP ***
  214. # The program can display a bitmap (transparent) using the using the 
  215. # bottom left pixel as the transparent color.
  216. #Bitmap=Test1.bmp
  217.  
  218. # **** FILTERING FILES ****
  219. # Include Mask= and Exclude Mask= switches above are used to 
  220. # filter files by name and path. Other switches are available 
  221. # to filter files by size, date, and file attribute. 
  222. # The Reverse Filters= switch is used to cause these switches to
  223. # function as 'exclude' or 'include'. 
  224. #  
  225. # The values at below are the defaults if not specified (all
  226. # files included). Omit those entirely if you do not need any
  227. # special settings. The switches work in tandem with each other and
  228. # the combinations of values is very complex. Please see the file,
  229. # 'ScriptFilterSettings.txt', that is installed with the program
  230. # for more information.
  231. #
  232. # Min Size Filter=
  233. # Max Size Filter=
  234. # Min Date Filter=
  235. # Max Date Filter=
  236. # Filter Skip Mask=0
  237. # Ignored Attributes Mask=55
  238. # Reverse Filters=0
  239.  
  240. # **** OUTPUT FORMATTING ****
  241. # Formatting in the log file can be controlled with the below switch. 
  242. # The syntax is complex. Please see the file, 'DT.SFS' for more 
  243. # information.
  244. #Output Columns=
  245.  
  246. # **** GROUP FILES ****
  247. # To see all related files grouped (or not) in the output report.
  248. # This switch has no effect on file operations during synchronize.
  249. # It affects only how files are listed in the report.
  250. # Possible Values:
  251. #  0 = Files will not be grouped.
  252. #  1 = Files are grouped by file name within the sort order. 
  253. #      Orphaned files are listed at the top or bottom of the list.
  254. Group Files=0
  255.  
  256. # **** OPERATE ON IDENTICAL / DIFFERENT FILES ****
  257. # The Show Different= and Show Identical= switches determine whether
  258. # the program will operated on alike &/or different files. These
  259. # determine the files that are available for pressing by all
  260. # operations. In most cases, the default of Show Different=1 should
  261. # be permitted! When Show Different=0, different files would not be
  262. # synchronized. The default is to display both identical and different.
  263. # Possible Values:
  264. #  0 = Do not include those files
  265. #  1 = Include those files
  266. Show Different=1
  267. Show Identical=1
  268.  
  269. # *** CASE SENSITIVE NAME MATCHING ***
  270. # Use this to compare file names case sensitive or not. If not 
  271. # specified, Default = 0.
  272. # Possible Values:
  273. #  0 = File name matching not case sensitive.
  274. #  1 = File name matching is case sensitive.
  275. Case Sensitive=0
  276.  
  277. # **** PERFORM BINARY FILE CONTENTS COMPARISON ****
  278. # When enabled, Folder Synchronize will do a binary contents
  279. # comparison on files with matching names. Files that have alike
  280. # contents will be considered identical even if their date/time
  281. # stamps differ. Binary compare will probably be slower because
  282. # files themselves must be read. Default if not specified = 0.
  283. # Possible Values:
  284. #  0 = Do not perform contents comparison.
  285. #  1 = Perform binary contents comparison.
  286. Check Same Size Files=0
  287.  
  288. # **** LIST FILES FOUND IN ONE PATH ONLY ****
  289. # When disabled, Folder Synchronize will not consider files that do
  290. # not have a same-named counterpart in one or the other path.
  291. # Disable this with care - When disabled, orphan files in the source
  292. # would not be added to the target. Conversely, they would not be
  293. # pruned from the target. If not specified, Default = 1.
  294. # Possible Values:
  295. #  0 = Do not include files that exist in one dir only.
  296. #  1 = Include files that exist in one directory only.
  297. Show Files in 1 Dir=1
  298.  
  299. # **** UNIX COMPARE MODES ****
  300. # Two special 'Unix' Directory Compare modes are available as a
  301. # subset of Binary File Comparison (above) to compare files that
  302. # have matching date/time stamps but different file sizes. The
  303. # first, 'Ignore Whitespace Compare', disregards whitespace
  304. # including spaces and line terminators. This mode can be used to
  305. # compare Unix vs. PC files that are the same name and have matching
  306. # time/date stamps. The second, 'Ignore Case Compare', disregards
  307. # the case of the text within the files.
  308. # Important Notes - Please Read:
  309. # - The Check Same Size Files=1 switch MUST also be specified for 
  310. #   either of these switches to work.
  311. # - Ignore Whitespace Compare can be done alone. 
  312. # - To use Ignore Case Compare you MUST also enable Ignore Whitespace
  313. #   Compare.
  314. # - The default for both switches if not specified is = 0, e.g.,
  315. #   Ignore Whitespace Compare=0, Ignore Case Compare=0
  316. # Settings if you want Unix Compare alone:
  317. #  Check Same Size Files=1
  318. #  Ignore Whitespace Compare=1
  319. #  Ignore Case Compare=0
  320. # Settings if you want Unix Compare and Ignore Case Compare:
  321. #  Check Same Size Files=1
  322. #  Ignore Whitespace Compare=1
  323. #  Ignore Case Compare=1
  324.  
  325. # **** SCAN FOR DUPLICATE FILES ****
  326. # This function will locate duplicate files within a single path and
  327. # attempt to group them in the output report. Do not enable this for
  328. # the typical comparison. Use this only with Synch Option=Compare.
  329. # You should also enable display of idential and different files.
  330. # If not specified, Default = 0.
  331. # Possible Values:
  332. #  0 = Do not search for duplicate files in the paths.
  333. #  1 = Perform a Match Duplicate Files comparison. 
  334. Match In Subdir=0
  335.  
  336. # **** TIME CHECK PRECISION ****
  337. # Specify the value in seconds to use for a range within which files
  338. # will be considered to have the same time/date stamp. If not
  339. # specified, Default = 3.
  340. Time Check Precision=3
  341.  
  342. # *** PATH 2 TIME COMPENSATION *** 
  343. # The Add Seconds To Second Dir= switch can be used compensate for a
  344. # known, exact time difference between two paths.  This switch can
  345. # be useful if time zone differences are affecting the reported file
  346. # times for one or the other path and if you do not wish to use
  347. # 'Binary File Contents' compare mode (Check Same Size Files=
  348. # switch).  If Add Seconds To Second Dir=  is specified the program
  349. # adds or subtracts the specified number of seconds from the
  350. # reported file times for Path2.  For example, if a file time stamp
  351. # is 08:00 and Add Seconds To Second Dir=3600 is specified, the
  352. # program will use 09:00 for the file time when evaluating
  353. # comparisons.  The value can be + or -. All files in path2 are
  354. # affected.  Add Seconds To Second Dir= is a fixed value, not a
  355. # range. Omit this switch entirely if you do not need it.
  356. # Add Seconds To Second Dir=
  357.