Page 1 of 1
Sync Dirs: 'Select for copying' action on 'Unequal files'
Posted: 2015-11-01, 20:21 UTC
by DrShark
New GUI or wincmd.ini to define behaviour for
"Select for copying (default direction)" context menu operation,
to be applied only for Unequal files.
The sense of option is to change (mark) the direction of Unequal files to
"From right to left" or "From left to right" using "Select for copying (default direction)" option
based on, for example, date criteria, like set direction to replace older files with newer.
Example: I select some or all Unequal files in Synch Dirs window, call "Select for copying (default direction)", and
possible new suboption like "Apply to both | left | right | side(s)", and
get Unequal mark changed to "to left" or "to right", so Synch will replace old files with newer.
Posted: 2015-11-02, 09:11 UTC
by MVV
If you do not ignore dates during comparison, TC selects default copy direction by comparing file dates.
But if you tell TC to ignore dates, TC can't decide which file should be kept.
I would disable this menu item at all when dates are ignored because it does nothing in such case (it doesn't change direction at all).
Posted: 2015-11-02, 09:17 UTC
by DrShark
MVV wrote:If you do not ignore dates during comparison, TC selects default copy direction by comparing file dates.
But if you tell TC to ignore dates, TC can't decide which file should be kept.
Here I have to rely on TC's "artificial intelligence" ("TC selects"), I want to have more control on the process.
Posted: 2015-11-02, 09:39 UTC
by MVV
But you haven't mention any other criteria except timestamp, but it is a main part of request as I understand.

Posted: 2015-11-02, 09:54 UTC
by DrShark
MVV wrote:But you haven't mention any other criteria except timestamp, but it is a main part of request as I understand.

Even with just a timestamp, I want to decide what files (selecled or all) to be copied in what direction (right or left, older to replace newer or newer with older, or maybe I want to delete some). I want to do it manually having "Unequal files" files list in front of my eyes

Posted: 2015-11-02, 11:18 UTC
by DrShark
OK, there's an improvement to my suggestion. It's still based on date criteria,
but I hope it can be expanded to another criterias too.
So, for Unequal files (if only they are left after previous sync actions, or selected, or if ony this filter initially applied),
"Select for copying (default direction) (Ctrl+D)" menu must be renamed to
"Select for copying", with following submenus:
-> "Mark to default direction (Ctrl+D)" (do what disabled "Ignore dates" does).
-> "Left side"
--> "Newer to right"
--> "Older to right"
--> "Delete newer" (with SHIFT key pressed - forever; deleting files on left side newer then from right)
--> "Delete older" (with SHIFT key pressed - forever)
-> "Right side"
--> "Newer to left"
--> "Older to left"
--> "Delete newer" (with SHIFT key pressed - forever)
--> "Delete older" (with SHIFT key pressed - forever)
Posted: 2015-11-02, 12:15 UTC
by MVV
Left/Right and Delete left/right are already available from main context menu itself...
Posted: 2015-11-02, 12:23 UTC
by DrShark
MVV wrote:Left/Right and Delete left/right are already available from main context menu itself...
Yeah, but they can't mark or delete using date criterea.
Posted: 2015-11-02, 12:56 UTC
by MVV
I think a separate submenu would be better in your case, there is no need in modifying existing commands...