126
Support and Feedback / Re: help!
« on: June 20, 2019, 12:55:45 »
AFAIK, there's no official way.
MultiCommander v14.2 is released!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
@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.
One know issue is that if the search is taking long time to scan and it does not find anything for a long time. You do not really see that anything is happening.What about "endless"/marquee progress bar llike when calculating folder size?
It looks like it might have stalled. but it has not.
I have not really decided on how to show that it is still working yet. So if you got a cleaver idea. feel free to post it.
Is ther a Way to setup that every Time the active windows have the size of 75:25?