Re: DirDiffVim for folders, but files are missed?

2024-01-06 Thread jr
hi, On Sun, 7 Jan 2024 at 05:20, K otgc wrote: > ... > I'm stuck on: why does my (proposed) awk solution not work for you, ie output of lines formatted "md5sum file1, file2[, .., fileN]" ? (admittedly there's no "count", and I haven't coded in awk for a while so there will be "neater" ways of w

Re: DirDiffVim for folders, but files are missed?

2024-01-06 Thread K otgc
Thanks. Yes, the Vim question has morphed into a programming question, which is not only 'OT' for this forum, but definitely 'OT' for my skills. I simply need Google Photos to download my photos, imagine computer illiterate people trying this? I'm stuck on: step: generating a list of md5 values,

Re: DirDiffVim for folders, but files are missed?

2024-01-06 Thread jr
hi, (you do realise we're somewhat OT for this forum ? :-)) On Sat, 6 Jan 2024 at 15:00, K otgc wrote: > Thanks. > I ran these commands, and I'm up to the final step of using those hash values > to look up all the matching filenames in the original md5 file. > I'm researching a command for that

Re: DirDiffVim for folders, but files are missed?

2024-01-06 Thread rwmit...@gmail.com
you have your commands out of order. you need to use cut on the original file to extract just the md5 values, then pipe that to sort | uniq -c | sort -nr to generate a list of md5 values with their counts of how often they occur. counts greater than 1 indicate duplicates. >From that, select ea

Re: DirDiffVim for folders, but files are missed?

2024-01-06 Thread K otgc
Thanks. I ran these commands, and I'm up to the final step of using those hash values to look up all the matching filenames in the original md5 file. I'm researching a command for that, as command fdupes seems to be for files, but I need to match up the md5 hash values? ubuntu@ubuntu:~/Documents$