Sync on_collision overwrite if different contents not honored
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
-
hermhart
- Posts: 246
- Joined: 13 Jan 2015 18:41
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?
Windows 11 Pro; 100% scaling
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
hermhart
- Posts: 246
- Joined: 13 Jan 2015 18:41
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.
Windows 11 Pro; 100% scaling
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
hermhart
- Posts: 246
- Joined: 13 Jan 2015 18:41
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?
Windows 11 Pro; 100% scaling
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
hermhart
- Posts: 246
- Joined: 13 Jan 2015 18:41
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.
Windows 11 Pro; 100% scaling
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
hermhart
- Posts: 246
- Joined: 13 Jan 2015 18:41
Re: Sync on_collision overwrite if different contents not honored
It has been sent.
Windows 11 Pro; 100% scaling
-
admin
- Site Admin
- Posts: 66541
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @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 X
-
hermhart
- Posts: 246
- Joined: 13 Jan 2015 18:41
Re: Sync on_collision overwrite if different contents not honored
Thank you so much! You rock! 
Windows 11 Pro; 100% scaling
XYplorer Beta Club