One of the ways is to use MultiScript. E.g. the following script changes destination files last write time to the one of the source files.
@var $src_path = GetSourcePath();
@var $dst_path = GetTargetPath();
if ( $src_path == $dst_path )
{
return -1;
}
@var $src_sel = GetSourceSelectedFileNames();
@var $n;
@var $src_file;
@var $dst_file;
@var $time;
for ( $n = 0; $n < arrayCount( $src_sel ); $n++ )
{
$src_file = $src_path ^ $src_sel[ $n ];
if ( IsFolder( $src_file ) )
{
continue;
}
$dst_file = $dst_path ^ $src_sel[ $n ];
if ( FileExists( $dst_file ) )
{
$time = GetFileTime( $src_file );
SetFileTime( $dst_file, $time );
}
}
But this script works for manually selected files within two folders. It's not much harder to automatically find all mismatching files as long as two folders are compared. But if you want to sync whole folders structure it would require [significantly] more work.