Sync Dirs: 'Select for copying' action on 'Unequal files'
Moderators: Hacker, petermad, Stefan2, white
Sync Dirs: 'Select for copying' action on 'Unequal files'
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.
"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.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
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).
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).
Here I have to rely on TC's "artificial intelligence" ("TC selects"), I want to have more control on the process.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.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
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 eyesMVV wrote:But you haven't mention any other criteria except timestamp, but it is a main part of request as I understand.

Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
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)
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)
Last edited by DrShark on 2015-11-02, 13:26 UTC, edited 4 times in total.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708