Thursday, January 4, 2024

Re: DirDiffVim for folders, but files are missed?

hi,

On Thu, 4 Jan 2024 at 13:11, K otgc <konthegoldcoast@gmail.com> wrote:
> Diff worked, similar to Meld, with a clear list of what files (photos) are in or not in directories.
> I'm stuck on the command to extract just the md5 values?
> Directory with photo files -> find -H directoryName/ ! -type d -exec md5sum {} + >sum.md5 -> select Enter -> sort | uniq -c | sort -nr checksum'sFileName.md5 -> select Enter -> not sure how to extract just the md5 values?
>
> ubuntu@ubuntu:~/Documents$ cat sum2.md5
> 3bc3be114fb6323adc5b0ad7422d193a test1/test1.1/test1.1.1/test1.1.1file2.JPG

the command you're looking for is 'cut(1)', eg '$ cat sum2.md5 | cut -d' ' -f1'.

--
regards, jr.

You have the right to free speech, as long as you're not dumb enough
to actually try it.
(The Clash 'Know Your Rights')

this email is intended only for the addressee(s) and may contain
confidential information. if you are not the intended recipient, you
are hereby notified that any use of this email, its dissemination,
distribution, and/or copying without prior written consent is
prohibited.

--
--
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/CAM-dBgpw_f_qHJ5OSwcijYHeTh%3Dns3C2dfuFmpTR7uwgEMk7ug%40mail.gmail.com.

No comments: