Sync on_collision overwrite if different contents not honored
Sync on_collision overwrite if different contents not honored
I have a sync script that I use that syncs all of my current configuration for XYplorer, of which, up until I believe two maintenance releases ago, it seems to of stopped honoring the on_collision (4 = Overwrite if different contents) argument. I use it on two different computers and on both it now re-syncs all of the files, not just the changed ones. Has something changed?
-
- Site Admin
- Posts: 62257
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Sync on_collision overwrite if different contents not honored
Works fine here. I use this test script to copy a text file from here to the other pane. It's skipped when same, copied when different:
Check your value at INI key
Code: Select all
sync <path 1>, <path 2>, 1, 4, 0, "k";
SyncContentCheck
. By default it should be 4
(= SHA-256).FAQ | XY News RSS | XY Twitter
Re: Sync on_collision overwrite if different contents not honored
I checked that INI key per your suggestion and it is already set as you show.
The only thing I have changed recently in my script was:
old: sync "<xypath>", "$XYBackup", 1, 4, 1, n;
new: sync "<xypath>", "$XYBackup", 1, 4, 1, bn;
As I believe you recently added the option for the 'b' argument for background processing.
The only thing I have changed recently in my script was:
old: sync "<xypath>", "$XYBackup", 1, 4, 1, n;
new: sync "<xypath>", "$XYBackup", 1, 4, 1, bn;
As I believe you recently added the option for the 'b' argument for background processing.
-
- Site Admin
- Posts: 62257
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Sync on_collision overwrite if different contents not honored
Works just as well with the "b" switch.
FAQ | XY News RSS | XY Twitter
Re: Sync on_collision overwrite if different contents not honored
Sorry to ask about this again, but I am still having this issue and am curious if there could be any other setting perhaps under File Operations that I might be missing in order to only overwrite on_collision 4 = Overwrite if different contents?
-
- Site Admin
- Posts: 62257
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Sync on_collision overwrite if different contents not honored
You consistently have this issue with every file that is synced?
FAQ | XY News RSS | XY Twitter
Re: Sync on_collision overwrite if different contents not honored
Yes, I do have this with every file that is synced. And as I stated in my very first post on this subject, I have this on two separate computers and they both began to fail at the same time after an update. The syncing works fine, it's just that it should be skipping over a whole bunch of files that have not been modified and should only be syncing files with different contents.
-
- Site Admin
- Posts: 62257
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Sync on_collision overwrite if different contents not honored
Could you mail your XYplorer.ini file to support?
FAQ | XY News RSS | XY Twitter
Re: Sync on_collision overwrite if different contents not honored
It has been sent.
-
- Site Admin
- Posts: 62257
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Sync on_collision overwrite if different contents not honored
Thanks, that helped. Got it. Was a bug indeed! Fixed in next beta.
FAQ | XY News RSS | XY Twitter
Re: Sync on_collision overwrite if different contents not honored
Thank you so much! You rock!