Hallo,
i use "Sync Folders" feature to backup data to external HDD and i recently run into a problem with it.
After syncing Data to a backup drive i didn't unmount the device correctly, which resulted in corrupt copied files.
(I found the discrepancy much later, when i tried opening some of the files on the backup HDD.)
Thing is, those corrupt files reported correct date and size, so XYplorer didn't see any need to overwrite those, when syncing. I then did hash-check and sure enough, it was different.
So It would be great if "Sync Folders" feature wound also get "overwrite if different checksum" option in addition to already existing "overwrite if different size or date".
Checksum feature for "Sync Folders"
-
- Site Admin
- Posts: 60538
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Checksum feature for "Sync Folders"
Makes sense.
Not sure about the best caption:
"overwrite if different content"
"overwrite if different contents"
"overwrite if different hash"
"overwrite if different hashes"
"overwrite if different checksum"
Help!
And then the question arises which hash to use by default. And make it optional/tweakable?
These are in the store:
MD5
SHA1
SHA256
SHA512
CRC32
Not sure about the best caption:
"overwrite if different content"
"overwrite if different contents"
"overwrite if different hash"
"overwrite if different hashes"
"overwrite if different checksum"
Help!
And then the question arises which hash to use by default. And make it optional/tweakable?
These are in the store:
MD5
SHA1
SHA256
SHA512
CRC32
FAQ | XY News RSS | XY Twitter
Re: Checksum feature for "Sync Folders"
I would name it "Overwrite if different contents".
Using MD5 is unsecure, may be a tweak with a default of SH256
Using MD5 is unsecure, may be a tweak with a default of SH256
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Re: Checksum feature for "Sync Folders"
Well If I had to choose, i would go with either "overwrite if different checksum" or "overwrite if different hashes",
since this directly implies that files are compared by calculating a checksum, but I'm also OK with "Overwrite if different contents"
MD5 is faster than SHA256 but cryptographically broken, so i would also go with SHA256 as a default.
also many thanks for listening, admin
since this directly implies that files are compared by calculating a checksum, but I'm also OK with "Overwrite if different contents"
MD5 is faster than SHA256 but cryptographically broken, so i would also go with SHA256 as a default.
also many thanks for listening, admin
-
- Site Admin
- Posts: 60538
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Checksum feature for "Sync Folders"
Since there is also the ByteToByte option for the tweak, "Overwrite if different contents" is okay.
BTW, it's already finished. Check out the latest beta v22.00.0004.
BTW, it's already finished. Check out the latest beta v22.00.0004.
FAQ | XY News RSS | XY Twitter
Re: Checksum feature for "Sync Folders"
well that was fast, thanks
Re: Checksum feature for "Sync Folders"
True, but I hardly think there will ever any problems when used while doing personal backups. Hell, even the simplistic CRC32 will probably do in this case.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here...
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here...
Re: Checksum feature for "Sync Folders"
File managers are not only used for unimportand personal purposes.
So it matters what security features are used.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73