...
The local_2_local_check_md5 profile shown in the screenshot below is almost identical to the previous local_2_local_create_md5 profile - the only significant difference is that it does not have the CreateIntegrityHashFile parameter as the files are already there.
The Profile Code
The following code boxes can be opened to show the Profile used in this example in XML and in settings.ini
formats.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="utf-8"?> <Configurations> <Fragments> <ProtocolFragments /> </Fragments> <Profiles> <Profile profile_id="local_2_local_check_md5"> <Operation> <Copy> <CopySource> <CopySourceFragmentRef> <LocalSource /> </CopySourceFragmentRef> <SourceFileOptions> <Selection> <FileSpecSelection> <FileSpec><![CDATA[^(test)(_)[0-9]\.txt]]></FileSpec> <Directory><![CDATA[${USERPROFILE}\jade_demo\ab]]></Directory> </FileSpecSelection> </Selection> </SourceFileOptions> </CopySource> <CopyTarget> <CopyTargetFragmentRef> <LocalTarget /> </CopyTargetFragmentRef> <Directory><![CDATA[${USERPROFILE}\jade_demo\b\checked]]></Directory> <TargetFileOptions> <CheckIntegrityHash /> </TargetFileOptions> </CopyTarget> </Copy> </Operation> </Profile> </Profiles> </Configurations> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
[local_2_local_create_md5] operation = copy source_protocol = local file_spec = ^(test)(_)[0-9]\.txt source_dir = ${USERPROFILE}\jade_demo\a target_protocol = local target_dir = ${USERPROFILE}\jade_demo\b check_security_hash = true create_security_hash_file = true [local_2_local_check_md5] operation = copy source_protocol = local file_spec = ^(test)(_)[0-9]\.txt source_dir = ${USERPROFILE}\jade_demo\ab target_protocol = local target_dir = ${USERPROFILE}\jade_demo\b\checked check_security_hash = true |
...