Hi,
this script compares selected (or if a pane doesn't contain a selection: all files in that pane) files by checksum and selects (and optionally outputs a separate list):
- identical
- non identical
- missing
files in both panes.
At the end you're asked to choose the pane where the (selected) files will be deleted.
The option to show only missing items could be achieved via
"Menu - Panes - Sync Select..." as well and was added only because of convenience^^
Be careful, comparing files by checksum can be a very time consuming process especially if the files are large (hundreds of MB or GBs). XY will become unresponsive while working on those files!
If you find any flaws, post em^^
[Script] CompareFiles (by checksum)
[Script] CompareFiles (by checksum)
- Attachments
-
CompareFiles.xys- (5.84 KiB) Downloaded 253 times
One of my scripts helped you out? Please donate via Paypal
-
CookieMonster
Re: [Script] CompareFiles (by checksum)
I compared the script to WinMerge, WinMerge was as slow as this script only when comparing, as mentioned, large files, or large files over a shared drive / network, in those cases manually comparing is the fastest option, no other way. Otherwise a very helpful script 
Re: [Script] CompareFiles (by checksum)
Awesome! This is quite useful since it allows a more accurate comparison between what's missing and what's unique. Thanks!
-
CookieMonster
Re: [Script] CompareFiles (by checksum)
There is a folder sync feature built into XY, it is fast, if you should have problems with the script. In the XY Help search for "Back up to other pane".
-
gregjohnsondsm
- Posts: 7
- Joined: 09 Sep 2013 23:44
Re: [Script] CompareFiles (by checksum)
The backup function is not really a folder sync. At least not the one that has been discussed as being on the roadmap. A folder sync function will update BOTH folders with the latest files from each. You can do the same with Backup, but you have to do it twice. Once from folder 1 to 2, and then again from 2 to 1. Anyone have any idea if the Folder Sync feature is still on the roadmap?
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: [Script] CompareFiles (by checksum)
It's the last item there -- see the Roadmap thread at http://www.xyplorer.com/xyfc/viewtopic.php?f=10&t=830gregjohnsondsm wrote:Anyone have any idea if the Folder Sync feature is still on the roadmap?
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
XYplorer Beta Club