Wednesday, January 3, 2024

Re: DirDiffVim for folders, but files are missed?


I'd recommend using something like md5 to generate unique hash values for every file into a single file.
From that, extract just the md5 values and pipe to " sort | uniq -c | sort -nr"
This will generate a list of hash values reverse sorted by how often they occur. 
Anything occurring more than once, is duplicated (and will be near the top of the output).
Use those hash values to look up all the matching filenames in the original md5 file.

Of course, all of this will fail when anything minor (such as meta data) changes in a photo.

On Wednesday, January 3, 2024 at 11:44:29 AM UTC-5 meine wrote:
On Tue, Jan 02, 2024 at 03:27:28PM -0800, K otgc wrote:
> Thanks, I actually did use Meld, great GUI.
> However, the sorting process needs digital automation.
> Manually moving 1000's of files on several accounts is too slow and I
> haven't figured out how Meld could do that?

For automation regular `diff` seems a more appropriate tool. You can
call it in a script, etc.

//meine

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/69975a5a-c61b-466d-a582-f34ec9c1ea38n%40googlegroups.com.

No comments:

Post a Comment