Code: Select all
v18.40.0107 - 2017-09-28 18:48
+ SC sync enhanced: Now you can filter the operation by passing an include
list and/or an exclude list.
Syntax: sync source, target, [copy_items], [on_collision], [delete_items], _
[switches], [logfile], [incl], [excl]
incl: List of patterns, separated by "|", to include. At least one
pattern has to be matched for an item to pass the filter.
Wildcards * and ? are supported. If a pattern has no wildcards at
all it is auto-surrounded by asterisks.
Folders are passed to the filter with a trailing backslash.
excl: List of patterns, separated by "|", to exclude. None of the
patterns should be matched for an item to pass the filter.
See "incl" above for other props.
Remarks:
- Logic if both lists are passed: An item is processed if it matches at
least one pattern of the include list AND no pattern of the exclude
list. Formula:
Pass = (i1 OR i2 OR ...) AND NOT (e1 OR e2 OR ...)
- The filter also affects deletions in target, sync caps, preserve all
item dates.
- If a folder does not pass the filter, the whole branch is out.
- Include/Exclude lists are shown at the bottom of the Sync config
dialog and in the reports.
- The feature is not yet implemented in XYcopy (background processing)!
Examples:
// copy only *.jpg and *.png files
sync "E:\Test\Sync\Source", "E:\Test\Sync\Target", 7:="*.jpg|*.png";
// I use this now for one-click daily backups of the XY source code (no
// need to backup appdata)
sync "E:\XY\code\", "F:\bup\XY-code-<date yyyy>\<date yyyymmdd>\", 1, 0, 0, _
"ckn", 8:="\appdata\";
+ Added tweak to limit the number of bytes previewed of a text file in the
Preview tab. If set to 0 the value defaults to 5242880 (=5MB).
MaxBytesTextPreview=5242880
! List | Smart Right Click: Could crash on date columns depending on what's
in the clipboard as long as it ended in " AM". Fixed.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.
XYplorer Beta Club